[Libvir] [PATCH] Fix memory leak on virDomainParseXMLDiskDesc()
Daniel Veillard
veillard at redhat.com
Wed Jul 11 08:41:52 UTC 2007
On Wed, Jul 11, 2007 at 05:19:27PM +0900, Masayuki Sunou wrote:
> Hi
>
> I found some memory leaks in xml.c
> --> Missing release of drvType and drvName in virDomainParseXMLDiskDesc().
> This patch fixes it.
Looks good, and the small refactoring makes the code cleaner :-)
Applied and commited to CVS, thanks a lot !
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list