Index: trunk/Ohana/src/libdvo/src/dvo_catalog.c
===================================================================
--- trunk/Ohana/src/libdvo/src/dvo_catalog.c	(revision 39331)
+++ trunk/Ohana/src/libdvo/src/dvo_catalog.c	(revision 39332)
@@ -1063,4 +1063,9 @@
   }
 
+  // if we do not have a filename, we did not open the file
+  if (!catalog->filename && !catalog->f) {
+    return TRUE;
+  }
+
   char tmpfilename[DVO_MAX_PATH];
   int status = snprintf (tmpfilename, DVO_MAX_PATH, "%s%s", catalog->filename, suffix);
@@ -1177,4 +1182,9 @@
   }
 
+  // if we do not have a filename, we did not open the file
+  if (!catalog->filename && !catalog->f) {
+    return TRUE;
+  }
+
   char tmpfilename[DVO_MAX_PATH];
   int status = snprintf (tmpfilename, DVO_MAX_PATH, "%s%s", catalog->filename, suffix);
