]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemuMigrationRun: Don't leak @fd
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 14 Jul 2015 13:42:50 +0000 (15:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Jul 2015 09:40:41 +0000 (11:40 +0200)
commitcd043390ffddb5693dcd5056682180ceff8b5b55
treece5e23b11e26b323fd7b70a6d1f9437d852d5eb2
parent4749fec10d414dc45b7bbf04bddd2620528d5f5a
qemuMigrationRun: Don't leak @fd

If we are migrating to an UNIX socket, we accept() a connection
from qemu and use that FD to set up a tunnel. However, the FD is
not closed as often as it should be.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c