]> git.ipfire.org Git - thirdparty/libvirt.git/commit
avoid a double-free bug
authorJim Meyering <meyering@redhat.com>
Fri, 16 May 2008 09:30:10 +0000 (09:30 +0000)
committerJim Meyering <meyering@redhat.com>
Fri, 16 May 2008 09:30:10 +0000 (09:30 +0000)
commit0dc23afb0ca41cf540e081e947de973ee125cb99
tree6468e1b1c575af7b0160efe3dfa6262268834285
parent65c2738ea154124e1e1fc5075faaa0f3844029cc
avoid a double-free bug

* src/qemu_conf.c (qemudParseXML): Ensure that "obj" is either
NULL or a valid malloc'd pointer before we might "goto error"
where it is freed.
ChangeLog
src/qemu_conf.c