[Libvir] [PATCH] Fix memory leak on virDomainParseXMLDiskDesc()

2007-07-11 Thread Masayuki Sunou
Hi I found some memory leaks in xml.c -- Missing release of drvType and drvName in virDomainParseXMLDiskDesc(). This patch fixes it. Signed-off-by: Masayuki Sunou [EMAIL PROTECTED] Thanks, Masayuki Sunou. Index:

Re: [Libvir] [PATCH] Fix memory leak on virDomainParseXMLDiskDesc()

2007-07-11 Thread Daniel Veillard
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

Re: [Libvir] [PATCH] Fix memory leak on virDomainParseXMLDiskDesc()

2007-07-11 Thread Richard W.M. Jones
Masayuki Sunou wrote: Hi I found some memory leaks in xml.c -- Missing release of drvType and drvName in virDomainParseXMLDiskDesc(). This patch fixes it. Signed-off-by: Masayuki Sunou [EMAIL PROTECTED] +1 Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/