Li Qiang fdfcc9aeea 9pfs: fix memory leak in v9fs_write
If an error occurs when marshalling the transfer length to the guest, the
v9fs_write() function doesn't free an IO vector, thus leading to a memory
leak. This patch fixes the issue.

Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Reviewed-by: Greg Kurz <groug@kaod.org>
[groug, rephrased the changelog]
Signed-off-by: Greg Kurz <groug@kaod.org>
2016-10-17 14:13:58 +02:00
..
2016-10-17 14:13:58 +02:00
2016-10-04 13:28:07 +01:00
2016-10-10 16:23:40 +01:00
2016-10-10 16:23:40 +01:00
2016-10-08 09:02:19 +03:00
2016-10-04 13:28:09 +01:00
2016-06-17 16:33:48 +10:00
2016-10-10 16:23:40 +01:00
2016-09-29 12:07:51 +01:00
2016-06-14 15:59:13 +01:00
2016-10-10 16:23:40 +01:00
2016-10-04 14:25:08 +01:00
2016-10-10 10:39:29 +01:00
2016-05-18 15:04:27 +03:00
2016-09-23 11:42:52 +08:00
2016-09-08 18:05:21 +04:00
2016-10-04 10:00:25 +02:00
2016-10-10 02:21:43 +03:00
2016-09-23 11:42:52 +08:00
2016-07-29 00:07:09 +03:00
2016-01-29 15:07:25 +00:00
2016-09-22 18:13:08 +01:00
2016-09-15 15:32:22 +03:00
2016-09-29 11:43:22 +08:00
2016-10-04 13:28:07 +01:00
2016-10-10 10:39:29 +01:00
2016-09-15 15:32:22 +03:00
2016-10-10 16:23:40 +01:00
2016-10-04 13:28:07 +01:00