Index: trunk/psLib/src/imageops/psImageMapFit.c
===================================================================
--- trunk/psLib/src/imageops/psImageMapFit.c	(revision 34151)
+++ trunk/psLib/src/imageops/psImageMapFit.c	(revision 34153)
@@ -317,4 +317,5 @@
         psFree (A);
         psFree (B);
+	psFree (Empty);
         return true;
     }
@@ -408,4 +409,6 @@
 	if (!*pGoodFit) {
 	    psWarning ("bad fit to image map, try something else");
+            psFree(resid);
+            if (!inMask) psFree (mask);
 	    return true;
 	}
Index: trunk/psLib/src/sys/psThread.c
===================================================================
--- trunk/psLib/src/sys/psThread.c	(revision 34151)
+++ trunk/psLib/src/sys/psThread.c	(revision 34153)
@@ -343,5 +343,8 @@
             psThread *thread = pool->data[i];
             if (thread->fault) {
+		// we had a fault on this thread -- clear the fault and keep going, but record
+		// the fault.
                 numFaults++;
+		thread->fault = false;
             }
         }
