diff options
author | Li Qiang | 2016-10-17 14:13:58 +0200 |
---|---|---|
committer | Greg Kurz | 2016-10-17 14:13:58 +0200 |
commit | 4c1586787ff43c9acd18a56c12d720e3e6be9f7c (patch) | |
tree | 74f1281bfd92e7555a1b3f913262dc9de6a55184 /hw/intc/ioapic.c | |
parent | 9pfs: fix memory leak in v9fs_xattrcreate (diff) | |
download | qemu-4c1586787ff43c9acd18a56c12d720e3e6be9f7c.tar.gz qemu-4c1586787ff43c9acd18a56c12d720e3e6be9f7c.tar.xz qemu-4c1586787ff43c9acd18a56c12d720e3e6be9f7c.zip |
9pfs: fix memory leak in v9fs_link
The v9fs_link() function keeps a reference on the source fid object. This
causes a memory leak since the reference never goes down to 0. 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/ioapic.c')
0 files changed, 0 insertions, 0 deletions