diff options
author | Stefan Hajnoczi | 2016-11-15 17:17:13 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2016-11-15 17:17:13 +0100 |
commit | 82e6e5ef0ec0e55e2be215153219f0ca8b3bee84 (patch) | |
tree | 1440ce73b63022eef8c2eae8c17dd40fb5703ab5 | |
parent | Merge remote-tracking branch 'jasowang/tags/net-pull-request' into staging (diff) | |
parent | test-replication: fix leaks (diff) | |
download | qemu-82e6e5ef0ec0e55e2be215153219f0ca8b3bee84.tar.gz qemu-82e6e5ef0ec0e55e2be215153219f0ca8b3bee84.tar.xz qemu-82e6e5ef0ec0e55e2be215153219f0ca8b3bee84.zip |
Merge remote-tracking branch 'public/tags/block-pull-request' into staging
# gpg: Signature made Tue 15 Nov 2016 03:42:29 PM GMT
# gpg: using RSA key 0x9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>"
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8
* public/tags/block-pull-request:
test-replication: fix leaks
Message-id: 1479224556-19367-1-git-send-email-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r-- | tests/test-replication.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-replication.c b/tests/test-replication.c index 0997bd8b74..fac2da3f58 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); } /* |