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);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to