[libvirt] [PATCH] fix memory leak in __virStringListFree

Daniel Veillard veillard at redhat.com
Wed Oct 29 13:32:37 UTC 2008

On Fri, Oct 24, 2008 at 03:03:58PM -0400, David Lively wrote:
> Currently __virStringListFree is freeing only the list nodes, but not
> the strings on the list (and neither is anyone else freeing these).
> This small patch fixes that, and documents the two __virStringList
> functions.

Well, Dan Berrange cleanup patch suggests to just get rid of the
functions, maybe that's an even nicer approach :-)


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