Zhang Min 6df3bf8eb3 drive mirror:fix memory leak
In the function mirror_iteration() -> qemu_iovec_init(),
it allocates memory for op->qiov.iov, when the write request calls back,
but in the function mirror_iteration_done(), it only frees the op,
not free the op->qiov.iov, so this causes memory leak.

It should use qemu_iovec_destroy() to free op->qiov.

Signed-off-by: Zhang Min <rudy.zhangmin@huawei.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-01-24 14:33:00 +01:00
..
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-12-20 16:26:16 +01:00
2013-09-12 10:12:47 +02:00
2013-08-19 15:52:19 +02:00
2013-12-16 10:12:20 +01:00
2014-01-24 14:33:00 +01:00
2013-12-16 10:12:20 +01:00
2013-11-29 13:40:36 +01:00
2014-01-24 14:33:00 +01:00
2013-09-12 10:12:48 +02:00
2014-01-24 14:33:00 +01:00