Index: trunk/psModules/src/imcombine/pmStackReject.c
===================================================================
--- trunk/psModules/src/imcombine/pmStackReject.c	(revision 14632)
+++ trunk/psModules/src/imcombine/pmStackReject.c	(revision 14636)
@@ -90,5 +90,5 @@
 
     // Threshold the convolved image
-    psPixels *bad = NULL;               // List of pixels that should be masked
+    psPixels *bad = psPixelsAllocEmpty(PIXEL_LIST_BUFFER); // List of pixels that should be masked
     for (int y = 0; y < numRows; y++) {
         for (int x = 0; x < numCols; x++) {
