Author: akv
Date: 2012-08-27 22:00:26 +0200 (Mon, 27 Aug 2012)
New Revision: 4273

Modified:
   branches/4175-enfuse/src/filename.c
Log:
Onlu try to unref metadata if it's set...

Modified: branches/4175-enfuse/src/filename.c
===================================================================
--- branches/4175-enfuse/src/filename.c 2012-08-27 19:17:36 UTC (rev 4272)
+++ branches/4175-enfuse/src/filename.c 2012-08-27 20:00:26 UTC (rev 4273)
@@ -323,7 +323,8 @@
        g_free(basename);
        g_free(tm);
        g_free(path);
-       g_object_unref(metadata);
+       if (metadata)
+         g_object_unref(metadata);
        
        return output;
 }


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

Reply via email to