Skip to contentSkip to conversation

Block patches

GIT PULL Applied Stefan Hajnoczi 2 participants 3 messages Nov 15, 2016

lore
Share & tools
lore
#0 lore raw

The following changes since commit 97e53cf82ca0ffa9abe2def2fabc5fc75b914d90:

Merge remote-tracking branch 'jasowang/tags/net-pull-request' into staging (2016-11-15 12:07:53 +0000)

are available in the git repository at:

git://github.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to baf905e580ab9c8eaf228822c4a7b257493b4998:

test-replication: fix leaks (2016-11-15 15:41:00 +0000)

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

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

Marc-André Lureau (1):
test-replication: fix leaks

 tests/test-replication.c | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.7.4
#1 lore raw

[Qemu-devel] [PULL 1/1] test-replication: fix leaks

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

ASAN spotted:
SUMMARY: AddressSanitizer: 301990288 byte(s) leaked in 33 allocation(s).

Message-id: [email protected]

---
 tests/test-replication.c | 3 +++
 1 file changed, 3 insertions(+)
tests/test-replication.c +3 -0
index 0997bd8..fac2da3 100644
@@ -85,6 +85,8 @@ static void test_blk_read(BlockBackend *blk, long pattern,
     }
 
     g_free(pattern_buf);
+    g_free(cmp_buf);
+    qemu_iovec_destroy(&qiov);
 }
 
 static void test_blk_write(BlockBackend *blk, long pattern, int64_t offset,
@@ -116,6 +118,7 @@ static void test_blk_write(BlockBackend *blk, long pattern, int64_t offset,
     }
 
     g_free(pattern_buf);
+    qemu_iovec_destroy(&qiov);
 }
 
 /*
Signature · 1 line
2.7.4
#2 lore raw
In reply to Stefan Hajnoczi
Quoted 14 lines · Stefan Hajnoczi

The following changes since commit 97e53cf82ca0ffa9abe2def2fabc5fc75b914d90:

Merge remote-tracking branch 'jasowang/tags/net-pull-request' into staging (2016-11-15 12:07:53 +0000)

are available in the git repository at:

git://github.com/stefanha/qemu.git tags/block-pull-request

for you to fetch changes up to baf905e580ab9c8eaf228822c4a7b257493b4998:

test-replication: fix leaks (2016-11-15 15:41:00 +0000)

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

Quoted 12 lines

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

Marc-André Lureau (1):
test-replication: fix leaks

 tests/test-replication.c | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.7.4

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

Stefan