[libvirt] [PATCH] Add several missing vir*Free calls in libvirtd's remote code

Justin Clift justin at salasaga.org
Sun Jun 13 07:51:40 UTC 2010


On 06/13/2010 02:32 AM, Matthias Bolte wrote:
<snip>
> This commit ensures that all get_nonnull_* and make_nonnull_* calls for
> libvirt objects are matched properly with vir*Free calls. This fixes the
> reference leaks and the reported problem.

Thanks Matthias, ACK.  Both RHEL 6 (libvirt 0.7.6) and Fedora 14 
(libvirtd 0.8.1) suffer from this problem.

Your patch fixes it.  Now I'm able to call virStoragePoolIsPersistent() 
from virsh without getting old UUID's for recreated pools. :)

Time to finish off my next virsh bits. :)

Regards and best wishes,

Justin Clift

-- 
Salasaga  -  Open Source eLearning IDE
               http://www.salasaga.org




More information about the libvir-list mailing list