]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Fix possible memory leak in qemuDomainPinVcpuFlags
authorJohn Ferlan <jferlan@redhat.com>
Mon, 9 Mar 2015 22:41:04 +0000 (18:41 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 16 Mar 2015 15:54:56 +0000 (11:54 -0400)
commitffa9f8a19b416d3e174afd24fd8368ad8daf20ea
tree4d0cc56e106caf06579acc0dbf5eef8a275e6577
parent4bca6192f20802773012d935145811fb4ba4a4d4
qemu: Fix possible memory leak in qemuDomainPinVcpuFlags

During his review of the iothreads pin setting code, Pavel noted that
there was a potential memory leak with respect to how the newVcpuPin
is handled and the goto endjob's in failure paths which would not free
the memory.  For reference, See:

http://www.redhat.com/archives/libvir-list/2015-March/msg00415.html
src/qemu/qemu_driver.c