]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix resource leak
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 4 May 2012 14:42:09 +0000 (10:42 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 4 May 2012 14:42:09 +0000 (10:42 -0400)
commitc0774482ff9d0689e13eab5bed1da69867dd1902
tree459a710cd068652efb4f164f672d4ed02077eb91
parent409a637eb1dc99ac1b85d3876302f876cb38a536
qemu: fix resource leak

Error: RESOURCE_LEAK:
/libvirt/src/qemu/qemu_driver.c:6968:
alloc_fn: Calling allocation function "calloc".
/libvirt/src/qemu/qemu_driver.c:6968:
var_assign: Assigning: "nodeset" =  storage returned from "calloc(1UL, 1UL)".
/libvirt/src/qemu/qemu_driver.c:6977:
noescape: Variable "nodeset" is not freed or pointed-to in function "virTypedParameterAssign".
/libvirt/src/qemu/qemu_driver.c:6997:
leaked_storage: Variable "nodeset" going out of scope leaks the storage it points to.
src/qemu/qemu_driver.c