]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_driver.c: don't close an arbitrary file descriptor
authorJim Meyering <meyering@redhat.com>
Wed, 7 Apr 2010 07:17:27 +0000 (09:17 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 7 Apr 2010 09:19:16 +0000 (11:19 +0200)
commitd33b87268d89df25ce266da07facb279e0fedf8e
tree142c3cde7f5f9cc9c269cda0787c876e02364211
parent2a788c6439ab6789a2cf522d30b5af22be26dc72
qemu_driver.c: don't close an arbitrary file descriptor

* src/qemu/qemu_driver.c (qemudStartVMDaemon): Initialize "logfile"
to ensure that we don't use it uninitialized -- thus closing an
arbitrary file descriptor -- in the cleanup block.
src/qemu/qemu_driver.c