]> git.ipfire.org Git - thirdparty/qemu.git/commit
ivshmem: Fix fd leak on error
authorAndreas Färber <afaerber@suse.de>
Mon, 15 Sep 2014 16:40:08 +0000 (18:40 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 6 Jan 2015 21:43:56 +0000 (15:43 -0600)
commitc4379ce8efe091bdc0eb3789a2e4eb83d4a2f6ae
treea5695dc78b81254d980d486b6c8b21b6c97c7e33
parenta95569d24f2462e1795a85aca17185ecd8856fc3
ivshmem: Fix fd leak on error

Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 3a31cff11203bf62ebafa6d74b1fcf2aba345eed)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/misc/ivshmem.c