[Rawstudio-commit] r3187 - trunk/librawstudio

Klaus Post klauspost at gmail.com
Fri Feb 12 23:57:11 CET 2010


Author: post
Date: 2010-02-12 23:57:11 +0100 (Fri, 12 Feb 2010)
New Revision: 3187

Modified:
   trunk/librawstudio/rs-profile-camera.c
Log:
Don't leak xml document when camera is found.

Modified: trunk/librawstudio/rs-profile-camera.c
===================================================================
--- trunk/librawstudio/rs-profile-camera.c	2010-02-12 22:43:27 UTC (rev 3186)
+++ trunk/librawstudio/rs-profile-camera.c	2010-02-12 22:57:11 UTC (rev 3187)
@@ -66,6 +66,7 @@
 							xmlFree(xml_model);
 							const gchar *unique_id = g_strdup((gchar *) xml_unique_id);
 							xmlFree(xml_unique_id);
+							xmlFree(doc);
 							return  unique_id;
 						}
 						xmlFree(xml_model);




More information about the Rawstudio-commit mailing list