[libvirt] [PATCH] fix memory leak in __virStringListFree

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. Dave

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 -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (2)
-
Daniel Veillard
-
David Lively