From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8wJW-0003mx-8I for qemu-devel@nongnu.org; Thu, 30 Jan 2014 13:26:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8wJQ-0007KW-TG for qemu-devel@nongnu.org; Thu, 30 Jan 2014 13:26:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8wJQ-0007K9-K8 for qemu-devel@nongnu.org; Thu, 30 Jan 2014 13:26:04 -0500 Message-ID: <52EA9934.3060802@redhat.com> Date: Thu, 30 Jan 2014 11:25:56 -0700 From: Eric Blake MIME-Version: 1.0 References: <1391066055-17024-1-git-send-email-owasserm@redhat.com> <1391066055-17024-2-git-send-email-owasserm@redhat.com> In-Reply-To: <1391066055-17024-2-git-send-email-owasserm@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m0VqX6nSJwwL8MQpuvoTbVaLqlaCQ3Bjs" Subject: Re: [Qemu-devel] [PATCH 1/6] Set xbzrle buffers to NULL after freeing them to avoid double free errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Orit Wasserman , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, anthony@codemonkey.ws, quintela@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --m0VqX6nSJwwL8MQpuvoTbVaLqlaCQ3Bjs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/30/2014 12:14 AM, Orit Wasserman wrote: > Signed-off-by: Orit Wasserman > Reviewed-by: Juan Quintela > --- > arch_init.c | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Eric Blake >=20 > diff --git a/arch_init.c b/arch_init.c > index 77912e7..66f5e82 100644 > --- a/arch_init.c > +++ b/arch_init.c > @@ -617,6 +617,9 @@ static void migration_end(void) > g_free(XBZRLE.current_buf); > g_free(XBZRLE.decoded_buf); > XBZRLE.cache =3D NULL; > + XBZRLE.encoded_buf =3D NULL; > + XBZRLE.current_buf =3D NULL; > + XBZRLE.decoded_buf =3D NULL; > } > } > =20 >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --m0VqX6nSJwwL8MQpuvoTbVaLqlaCQ3Bjs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJS6pk0AAoJEKeha0olJ0Nq2mIIAKzB37UsiLMNAxv7yg//GWPy MPcdz+ZKwhhXdxyRyIAEoErLMFTskXEpARIC5B0HTlP+WZZKyTZ8tzvSsrf8pCrh pn0YzGHrkKc6sdwvJJTT94INOG8JAcye9VZoJko3PYyJgVPBabeDRbQWWRqZdloM KhlhfUcPS8Hh2I89f+cKMjRSVfG6sE1Gf/n+cUBmf0Y0T7bz5xWD6T6G9M49RD/H mMn0+eBLBjvKP0olh8nDXU1TwujUh6JpCoutEMOW/1cj0GP6C3Tqc+E6ANxxjMcq 457/jWhB2RgB8y2T/bxQfIVScuhanraQeetCf+/q41KnrDrbWa6r94kntU7vg/c= =y3Ai -----END PGP SIGNATURE----- --m0VqX6nSJwwL8MQpuvoTbVaLqlaCQ3Bjs--