Index: branches/eam_branches/ppStack.20211015/src/ppStackLoopByPercent.c
===================================================================
--- branches/eam_branches/ppStack.20211015/src/ppStackLoopByPercent.c	(revision 41842)
+++ branches/eam_branches/ppStack.20211015/src/ppStackLoopByPercent.c	(revision 41848)
@@ -41,10 +41,7 @@
 
     // Done with stack inputs for now
-    // XXX is this where we are leaking??
     for (int i = 0; i < options->num; i++) {
         pmCellFreeData(options->cells->data[i]);
     }
-    // MEH -- must uncomment back out -- unclear is should be moved after pixel rejection
-    psFree(stack);
 
     psLogMsg("ppStack", PS_LOG_INFO, "Stage 5: Final Stack: %f sec", psTimerClear("PPSTACK_STEPS"));
@@ -96,5 +93,4 @@
         return false;
     }
-    // MEH -- also must uncomment back out..
     psFree(stack);
     psLogMsg("ppStack", PS_LOG_INFO, "Stage 7: Cleanup, WCS & JPEGS: %f sec", psTimerClear("PPSTACK_STEPS"));
