From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4kuM-00087T-3h for qemu-devel@nongnu.org; Thu, 10 Nov 2016 03:40:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4kuH-0000TN-Cj for qemu-devel@nongnu.org; Thu, 10 Nov 2016 03:40:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4kuH-0000TB-8C for qemu-devel@nongnu.org; Thu, 10 Nov 2016 03:40:25 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6134064C9 for ; Thu, 10 Nov 2016 08:40:24 +0000 (UTC) Date: Thu, 10 Nov 2016 16:40:22 +0800 From: Fam Zheng Message-ID: <20161110084022.GF8422@lemon> References: <20161109110210.25925-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20161109110210.25925-1-marcandre.lureau@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] test-uuid: fix leak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: qemu-devel@nongnu.org On Wed, 11/09 15:02, Marc-Andr=E9 Lureau wrote: > ASAN spotted: > SUMMARY: AddressSanitizer: 74 byte(s) leaked in 2 allocation(s). >=20 > Signed-off-by: Marc-Andr=E9 Lureau > --- > tests/test-uuid.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/tests/test-uuid.c b/tests/test-uuid.c > index 77dcdc4..d3a2791 100644 > --- a/tests/test-uuid.c > +++ b/tests/test-uuid.c > @@ -161,6 +161,7 @@ static void test_uuid_unparse_strdup(void) > } > out =3D qemu_uuid_unparse_strdup(&uuid_test_data[i].uuid); > g_assert_cmpstr(uuid_test_data[i].uuidstr, =3D=3D, out); > + g_free(out); > } > } > =20 > --=20 > 2.10.0 >=20 Thanks, applied: https://github.com/famz/qemu/tree/staging Fam