]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainAttach: Initialize pidfile variable
authorMichal Privoznik <mprivozn@redhat.com>
Sun, 9 Oct 2011 08:42:42 +0000 (10:42 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sun, 9 Oct 2011 08:42:42 +0000 (10:42 +0200)
commitcd016a46c78605bc7030450861f66c9739263e27
tree293cfcf4036e1d647999bf355e3f9832cdae5432
parent0654d274e6fdc5c1b3d632665670b338957fc60d
qemuDomainAttach: Initialize pidfile variable

If parsing qemu command line fails (e.g. because of non-existing
process number supplied), we jump to cleanup label where we free
pidfile. Therefore it needs to be initialized. Otherwise we free
random pointer.
src/qemu/qemu_driver.c