summaryrefslogtreecommitdiffstats
path: root/target-sparc/helper.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2014-04-24 13:58:18 +0200
committerLuiz Capitulino2014-04-25 17:41:41 +0200
commit0b9f0e2fd7c5070fa06cd6bd5ec69055e3a7d2b1 (patch)
tree3d5f3ed93d53a01abd31b164a4b9a714c46e07de /target-sparc/helper.c
parentHMP: support specifying dump format for dump-guest-memory (diff)
downloadqemu-0b9f0e2fd7c5070fa06cd6bd5ec69055e3a7d2b1.tar.gz
qemu-0b9f0e2fd7c5070fa06cd6bd5ec69055e3a7d2b1.tar.xz
qemu-0b9f0e2fd7c5070fa06cd6bd5ec69055e3a7d2b1.zip
monitor: fix qmp_getfd() fd leak in error case
qemu_chr_fe_get_msgfd() transfers ownership of the file descriptor to the caller. Therefore all code paths in qmp_getfd() should either register the file descriptor somewhere or close it. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'target-sparc/helper.c')
0 files changed, 0 insertions, 0 deletions