Author: post
Date: 2011-03-12 15:55:23 +0100 (Sat, 12 Mar 2011)
New Revision: 3859
Modified:
trunk/src/rs-store.c
Log:
Don't attempt to open a path that doesn't exist.
Modified: trunk/src/rs-store.c
===================================================================
--- trunk/src/rs-store.c 2011-03-12 12:41:13 UTC (rev 3858)
+++ trunk/src/rs-store.c 2011-03-12 14:55:23 UTC (rev 3859)
@@ -1213,6 +1213,9 @@
gchar *path_normalized = rs_normalize_path(path);
+ if (!path_normalized)
+ return 0;
+
rs_io_idle_restore_tags(path_normalized, RESTORE_TAGS_CLASS);
dir = g_dir_open(path_normalized, 0, NULL); /* FIXME: check errors */
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit