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-11-28 10:30:51 +01:00
2014-01-22 12:07:18 +01:00
2014-01-22 12:07:18 +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
2014-01-22 12:07:17 +01:00
2014-01-06 15:02:30 -05:00
2013-09-12 10:12:47 +02:00
2014-01-22 12:07:16 +01:00
2014-01-22 12:07:16 +01: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-12-16 10:12:20 +01:00
2014-01-06 15:02:30 -05:00
2013-09-12 10:12:47 +02:00
2013-11-29 13:40:36 +01:00
2013-10-11 16:50:00 +02:00
2013-12-06 16:53:50 +01:00
2013-12-06 16:53:50 +01:00
2013-12-04 15:19:00 +01:00
2014-01-22 12:07:17 +01:00
2014-01-24 14:33:00 +01:00
2014-01-22 12:07:17 +01:00
2012-08-10 10:25:12 +02:00
2011-08-20 23:01:08 -05:00
2011-08-20 23:01:08 -05:00
2012-03-12 15:14:06 +01:00
2012-12-19 08:32:39 +01:00
2014-01-22 12:07:17 +01:00
2013-09-25 20:51:15 +02:00
2013-11-28 10:30:51 +01:00
2013-12-03 15:26:49 +01:00
2014-01-06 15:02:30 -05:00
2014-01-06 15:02:30 -05:00
2014-01-22 12:07:16 +01:00
2014-01-24 14:33:00 +01:00
2013-12-04 15:19:00 +01:00
2013-09-12 10:12:48 +02:00
2013-11-28 11:39:31 +01:00
2013-12-03 15:26:49 +01:00
2013-11-07 13:58:59 +01:00
2013-12-20 09:11:58 +01:00
2014-01-22 12:07:17 +01:00
2013-12-20 09:11:58 +01:00
2014-01-24 14:33:00 +01:00
2013-12-03 15:26:49 +01:00
2014-01-06 15:02:30 -05:00
2013-08-22 22:05:04 +02:00