]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: fix memory leak in virDomainGetVcpus
authorLaine Stump <laine@laine.org>
Mon, 2 Apr 2012 04:26:44 +0000 (00:26 -0400)
committerLaine Stump <laine@laine.org>
Mon, 2 Apr 2012 05:56:02 +0000 (01:56 -0400)
commita4650316d104ca559101d2944a9ecb43d35b7d72
tree156d8689b83a70a2177c864e8dacec5ef4469a2d
parentd400b8fb1868c5ef685c88e7de1fb7260434ad52
qemu: fix memory leak in virDomainGetVcpus

https://bugzilla.redhat.com/show_bug.cgi?id=808979

The leak is really in virProcessInfoGetAffinity, as shown in the
valgrind output given in the above bug report - it calls CPU_ALLOC(),
but then fails to call CPU_FREE().

This leak has existed in every version of libvirt since 0.7.5.
src/util/processinfo.c