[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen master] test-uuid: fix leak
commit d9c05e507f7a6647cd7b106c8784f1f15a0e4f5c Author: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> AuthorDate: Wed Nov 9 15:02:10 2016 +0400 Commit: Fam Zheng <famz@xxxxxxxxxx> CommitDate: Fri Nov 11 20:53:23 2016 +0800 test-uuid: fix leak ASAN spotted: SUMMARY: AddressSanitizer: 74 byte(s) leaked in 2 allocation(s). Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> Message-Id: <20161109110210.25925-1-marcandre.lureau@xxxxxxxxxx> Reviewed-by: John Snow <jsnow@xxxxxxxxxx> Signed-off-by: Fam Zheng <famz@xxxxxxxxxx> --- 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 = qemu_uuid_unparse_strdup(&uuid_test_data[i].uuid); g_assert_cmpstr(uuid_test_data[i].uuidstr, ==, out); + g_free(out); } } -- generated by git-patchbot for /home/xen/git/qemu-xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |