[PC-BSD Commits] r1106 - pcbsd/trunk/SoundDetect

svn at pcbsd.org svn at pcbsd.org
Fri Jan 4 17:41:55 PST 2008


Author: carlos
Date: 2008-01-04 17:41:55 -0800 (Fri, 04 Jan 2008)
New Revision: 1106

Modified:
   pcbsd/trunk/SoundDetect/parse_sound.c
Log:
mem leak

Modified: pcbsd/trunk/SoundDetect/parse_sound.c
===================================================================
--- pcbsd/trunk/SoundDetect/parse_sound.c	2008-01-05 01:32:31 UTC (rev 1105)
+++ pcbsd/trunk/SoundDetect/parse_sound.c	2008-01-05 01:41:55 UTC (rev 1106)
@@ -77,6 +77,7 @@
 	{
 		if ((!xmlStrcmp(cur->name, (const xmlChar *)Vendor_Name))){
 			sprintf(kernelmodule,"%s",GetKo (doc, cur,chip_id));
+			xmlFreeDoc(doc);
 			return kernelmodule;
 		}
 		 



More information about the Commits mailing list