qemu-e2k/hw/9pfs
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
..
9p-handle.c
9p-local.c
9p-posix-acl.c
9p-proxy.c
9p-proxy.h
9p-synth.c
9p-synth.h 9pfs: fsdev: drop useless extern annotation for functions 2016-10-17 14:13:58 +02:00
9p-xattr-user.c
9p-xattr.c
9p-xattr.h
9p.c 9pfs: fix memory leak in v9fs_write 2016-10-17 14:13:58 +02:00
9p.h virtio-9p: add reset handler 2016-10-17 14:13:58 +02:00
codir.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
cofile.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
cofs.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
coth.c
coth.h 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
coxattr.c 9pfs: use coroutine_fn annotation in hw/9pfs/co*.[ch] 2016-10-17 14:13:58 +02:00
Makefile.objs
trace-events
virtio-9p-device.c virtio-9p: add reset handler 2016-10-17 14:13:58 +02:00
virtio-9p.h 9pfs: fsdev: drop useless extern annotation for functions 2016-10-17 14:13:58 +02:00