]> xenbits.xensource.com Git - libvirt.git/commit
qemu: avoid NULL deref on error
authorEric Blake <eblake@redhat.com>
Tue, 15 Feb 2011 00:34:05 +0000 (17:34 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 15 Feb 2011 00:34:05 +0000 (17:34 -0700)
commit0cca53921d133d51cb4f8f11ae85b1eac4f9b9da
tree7acec18ec48c0c242fb7e0ac94c4bb89a8fbdcb1
parentbd6ea30384490a0847ec981877ae781a9cf62890
qemu: avoid NULL deref on error

* src/qemu/qemu_command.c (qemuParseCommandLineDisk): Report error
before cleaning def.
src/qemu/qemu_command.c