Index: trunk/psLib/src/fft/psImageFFT.c
===================================================================
--- trunk/psLib/src/fft/psImageFFT.c	(revision 28998)
+++ trunk/psLib/src/fft/psImageFFT.c	(revision 29014)
@@ -23,4 +23,5 @@
 #include <pthread.h>
 
+#include "psAbort.h"
 #include "psAssert.h"
 #include "psError.h"
@@ -744,10 +745,8 @@
 
     if (paddedCols != kernel->paddedCols) {
-        psError(PS_ERR_BAD_PARAMETER_SIZE, true, _("Image is inconsistent with allocated kernel"));
-        return NULL;
+	psAbort(_("Image is inconsistent with allocated kernel"));
     }	
     if (paddedRows != kernel->paddedRows) {
-        psError(PS_ERR_BAD_PARAMETER_SIZE, true, _("Image is inconsistent with allocated kernel"));
-        return NULL;
+        psAbort(_("Image is inconsistent with allocated kernel"));
     }	
 
