Received: from eggs.gnu.org ([2001:4830:134:3::10]:47863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Zlc-0000r3-Sz for qemu-devel@nongnu.org; Wed, 09 Nov 2016 15:46:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4ZlY-0000WK-Ti for qemu-devel@nongnu.org; Wed, 09 Nov 2016 15:46:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40008) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4ZlY-0000W7-OH for qemu-devel@nongnu.org; Wed, 09 Nov 2016 15:46:40 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (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 D319764CE for ; Wed, 9 Nov 2016 20:46:39 +0000 (UTC) References: <20161109110210.25925-1-marcandre.lureau@redhat.com> From: John Snow Message-ID: <366a7324-6959-e9ae-0bb8-70f2f0fba371@redhat.com> Date: Wed, 9 Nov 2016 15:46:38 -0500 MIME-Version: 1.0 In-Reply-To: <20161109110210.25925-1-marcandre.lureau@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed 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: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , qemu-devel@nongnu.org Cc: famz@redhat.com On 11/09/2016 06:02 AM, Marc-Andr=C3=A9 Lureau wrote: > ASAN spotted: > SUMMARY: AddressSanitizer: 74 byte(s) leaked in 2 allocation(s). > > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > tests/test-uuid.c | 1 + > 1 file changed, 1 insertion(+) > > 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); > } > } > > Reviewed-by: John Snow