[libvirt] [PATCH] Fix a memory leak in virsh.
Daniel Veillard
veillard at redhat.com
Fri Sep 4 13:39:51 UTC 2009
On Sun, Aug 30, 2009 at 03:59:08PM -0400, Laine Stump wrote:
>
> I found this while looking for examples of using
> virNodeDeviceGetXMLDesc(). AFAIK, *all* of the *GetXMLDesc() functions
> return a newly allocated chunk of memory that is owned by the caller,
> who must free it when they're done...
Right, good catch, applied and commited,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list