Skip to contentSkip to conversation

UUID test fix patch for 2.8

GIT PULL Applied Fam Zheng 2 participants 4 messages Nov 11, 2016 – Nov 14, 2016

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

The following changes since commit 6bbcb76301a72dc80c8d29af13d40bb9a759c9c6:

MAINTAINERS: Remove obsolete stable branches (2016-11-10 15:29:59 +0000)

are available in the git repository at:

[email protected]:famz/qemu tags/for-upstream

for you to fetch changes up to d9c05e507f7a6647cd7b106c8784f1f15a0e4f5c:

test-uuid: fix leak (2016-11-11 20:53:23 +0800)

----------------------------------------------------------------

This is the memory leak fix for uuid test.

----------------------------------------------------------------

Marc-André Lureau (1):
test-uuid: fix leak

 tests/test-uuid.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.7.4
author
#1 lore raw

[Qemu-devel] [PULL 1/1] test-uuid: fix leak

From: Marc-André Lureau <[email protected]>

ASAN spotted:
SUMMARY: AddressSanitizer: 74 byte(s) leaked in 2 allocation(s).

Message-Id: <[email protected]>

---
 tests/test-uuid.c | 1 +
 1 file changed, 1 insertion(+)
tests/test-uuid.c +1 -0
index 77dcdc4..d3a2791 100644
@@ -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);
     }
 }
 
Signature · 1 line
2.7.4
author
#2 lore raw
In reply to Fam Zheng
Quoted 7 lines · Fam Zheng

The following changes since commit 6bbcb76301a72dc80c8d29af13d40bb9a759c9c6:

MAINTAINERS: Remove obsolete stable branches (2016-11-10 15:29:59 +0000)

are available in the git repository at:

[email protected]:famz/qemu tags/for-upstream

Now that I've updated my remote config:

git://github.com/famz/qemu.git tags/for-upstream

Fam

#3 lore raw
In reply to Fam Zheng
Quoted 16 lines · Fam Zheng

The following changes since commit 6bbcb76301a72dc80c8d29af13d40bb9a759c9c6:

MAINTAINERS: Remove obsolete stable branches (2016-11-10 15:29:59 +0000)

are available in the git repository at:

[email protected]:famz/qemu tags/for-upstream

for you to fetch changes up to d9c05e507f7a6647cd7b106c8784f1f15a0e4f5c:

test-uuid: fix leak (2016-11-11 20:53:23 +0800)

----------------------------------------------------------------

This is the memory leak fix for uuid test.

Quoted 12 lines

----------------------------------------------------------------

Marc-André Lureau (1):
test-uuid: fix leak

 tests/test-uuid.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.7.4

Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging

Stefan