Index: trunk/psphot/src/psphotImageLoop.c
===================================================================
--- trunk/psphot/src/psphotImageLoop.c	(revision 11263)
+++ trunk/psphot/src/psphotImageLoop.c	(revision 11310)
@@ -83,6 +83,9 @@
 	return false;
     }
-    
+
     psFree (view);
+
+    // fail if we failed to handle an error
+    if (psErrorCodeLast() != PS_ERR_NONE) return false;
     return true;
 }
