[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-xen master] test-replication: fix leaks
commit baf905e580ab9c8eaf228822c4a7b257493b4998 Author: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> AuthorDate: Wed Nov 9 14:45:47 2016 +0400 Commit: Stefan Hajnoczi <stefanha@xxxxxxxxxx> CommitDate: Tue Nov 15 15:41:00 2016 +0000 test-replication: fix leaks ASAN spotted: SUMMARY: AddressSanitizer: 301990288 byte(s) leaked in 33 allocation(s). Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> Message-id: 20161109104547.23861-1-marcandre.lureau@xxxxxxxxxx Signed-off-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx> --- tests/test-replication.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test-replication.c b/tests/test-replication.c index 0997bd8..fac2da3 100644 --- a/tests/test-replication.c +++ b/tests/test-replication.c @@ -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); } /* -- 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 |