From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN2Sn-0005Ex-5u for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:50:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN2Si-0001Pv-Ka for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:50:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN2Si-0001Pq-C3 for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:49:56 -0400 Message-ID: <531DDF20.1070401@redhat.com> Date: Mon, 10 Mar 2014 09:49:52 -0600 From: Eric Blake MIME-Version: 1.0 References: <20140308110933.28374e9a@redhat.com> <20140308122706.58858d92@redhat.com> In-Reply-To: <20140308122706.58858d92@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VkuvTuXp9VJBj2pa61LSmB5CXXuLtu8co" Subject: Re: [Qemu-devel] [PATCH] tests: test-qmp-commands: Fix double free List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino , Peter Maydell Cc: QEMU Developers , Markus Armbruster This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VkuvTuXp9VJBj2pa61LSmB5CXXuLtu8co Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/08/2014 10:27 AM, Luiz Capitulino wrote: > The ret variable is freed twice, but on the second time we actually wan= t > to free ret3 instead. Don't know why this didn't explode. >=20 > Reported-by: Peter Maydell > Tested-by: Peter Maydell > Signed-off-by: Luiz Capitulino > --- > tests/test-qmp-commands.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --VkuvTuXp9VJBj2pa61LSmB5CXXuLtu8co 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/ iQEcBAEBCAAGBQJTHd8gAAoJEKeha0olJ0Nq0b0H/AsM+jnjNBV+x6vNRpI8amau 7MX5MERfOvLhX2vEpDUKhazhTHkZLc9zzHDqv/sdOes1+cN0aNMVBM2vDcmvNCzE /V/PfC1wagAvn9+a3N2o3eLzvNk/I/wK2MVLAaCClPW9wSHMlcZ92fp737Uu6s0y 4LJmbN3zp/ajAb8pl6Tk7QRzadIsfPwg/U70Kjo+qf7kHMGI1EQooD3+bLIe98Uh xKYa76ZWVbhIjvePHetyOZosICe+tjvzDCh1mwP/DITQ/yPZvwFWi20KTN2cdddq /HWH2A75KpR2UW6n9s31sW0M1o8Gi7/PIcpm0nOTAJYvHc8zqTgsFtGHyKuPlMc= =kndn -----END PGP SIGNATURE----- --VkuvTuXp9VJBj2pa61LSmB5CXXuLtu8co--