summaryrefslogtreecommitdiff
path: root/tests/test-replication.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-replication.c')
-rw-r--r--tests/test-replication.c3
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);
}
/*