summaryrefslogtreecommitdiffstats
path: root/hw/intc/arm_gicv3_cpuif.c
diff options
context:
space:
mode:
authorLi Qiang2016-10-17 14:13:58 +0200
committerGreg Kurz2016-10-17 14:13:58 +0200
commitfdfcc9aeea1492f4b819a24c94dfb678145b1bf9 (patch)
tree52b31c58fb39440398d2e623a47d8db692108951 /hw/intc/arm_gicv3_cpuif.c
parent9pfs: fix memory leak in v9fs_link (diff)
downloadqemu-fdfcc9aeea1492f4b819a24c94dfb678145b1bf9.tar.gz
qemu-fdfcc9aeea1492f4b819a24c94dfb678145b1bf9.tar.xz
qemu-fdfcc9aeea1492f4b819a24c94dfb678145b1bf9.zip
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>
Diffstat (limited to 'hw/intc/arm_gicv3_cpuif.c')
0 files changed, 0 insertions, 0 deletions