]> git.proxmox.com Git - qemu.git/commit
spice: fix file handle cleanup
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 21 Oct 2011 13:56:21 +0000 (15:56 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Oct 2011 12:00:54 +0000 (14:00 +0200)
commit08cc67f32ebe9b7dc3e1410f0678f198c092c0e7
tree63b0fc90c44093aa3fc17ed2b0c86ccb835a546e
parent9f0f352d8546f217780013dd35ab157d667195dd
spice: fix file handle cleanup

Setting both read and write handlers to NULL in qemu_set_fd_handler
is not enougth to make qemu purge the file handle from the list.
We must set opaque to NULL too.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-core.c