New: rendering in background mode (blender -b) now prints a percentage to
[blender.git] / source / blender / src / usiblender.c
index 8a1d046ca3f888342c2080a1cc137cedfc8ab97d..a0609b9a03929ab8fe584fae05872c030eae7541 100644 (file)
@@ -549,7 +549,7 @@ void exit_usiblender(void)
        free_txt_data();
 
        sound_exit_audio();
-       MEM_freeN(G.listener);
+       if(G.listener) MEM_freeN(G.listener);
 
 #ifdef WITH_QUICKTIME
        quicktime_exit();