Index: /tags/ipp-20111110/psModules/src/imcombine/pmSubtraction.c
===================================================================
--- /tags/ipp-20111110/psModules/src/imcombine/pmSubtraction.c	(revision 32717)
+++ /tags/ipp-20111110/psModules/src/imcombine/pmSubtraction.c	(revision 32718)
@@ -1487,4 +1487,5 @@
             }
         }
+	psFree(out1->covariance);
         out1->covariance = psImageCovarianceAverage(covars);
         psFree(covars);
@@ -1527,4 +1528,5 @@
             }
         }
+	psFree(out2->covariance);
         out2->covariance = psImageCovarianceAverage(covars);
         psFree(covars);
Index: /tags/ipp-20111110/psModules/src/objects/pmPeaks.c
===================================================================
--- /tags/ipp-20111110/psModules/src/objects/pmPeaks.c	(revision 32717)
+++ /tags/ipp-20111110/psModules/src/objects/pmPeaks.c	(revision 32718)
@@ -190,4 +190,5 @@
     out->assigned        = in->assigned;
     out->type      	 = in->type;
+    out->footprint       = in->footprint;
 
     return true;
Index: /tags/ipp-20111110/psModules/src/objects/pmPeaks.h
===================================================================
--- /tags/ipp-20111110/psModules/src/objects/pmPeaks.h	(revision 32717)
+++ /tags/ipp-20111110/psModules/src/objects/pmPeaks.h	(revision 32718)
@@ -71,5 +71,5 @@
     bool assigned;                      ///< is peak assigned to a source?
     pmPeakType type;                    ///< Description of peak.
-    pmFootprint *footprint;		///< reference to containing footprint
+    pmFootprint *footprint;		///< reference to containing footprint (just a view, not a memcopy)
     psArray *saddlePoints;		///< set of saddle points between this peak and near neighbors
 }
Index: /tags/ipp-20111110/psModules/src/objects/pmSource.c
===================================================================
--- /tags/ipp-20111110/psModules/src/objects/pmSource.c	(revision 32717)
+++ /tags/ipp-20111110/psModules/src/objects/pmSource.c	(revision 32718)
@@ -121,4 +121,5 @@
     source->modelFits = NULL;
     source->extFitPars = NULL;
+
     source->type = PM_SOURCE_TYPE_UNKNOWN;
     source->mode = PM_SOURCE_MODE_DEFAULT;
@@ -138,4 +139,5 @@
     source->apFluxErr 	     = NAN; 
 
+    source->windowRadius     = NAN;
     source->skyRadius  	     = NAN;
     source->skyFlux    	     = NAN;
@@ -203,8 +205,10 @@
 
     source->imageID          = in->imageID;
+
     source->type     	     = in->type;
     source->mode     	     = in->mode;
     source->mode2    	     = in->mode2;
     source->tmpFlags 	     = in->tmpFlags;
+
     source->psfMag     	     = in->psfMag;
     source->psfMagErr 	     = in->psfMagErr;
@@ -217,6 +221,13 @@
     source->apFlux    	     = in->apFlux;
     source->apFluxErr 	     = in->apFluxErr;
+
+    source->windowRadius     = in->windowRadius;
+    source->skyRadius  	     = in->skyRadius;  	
+    source->skyFlux    	     = in->skyFlux;    	
+    source->skySlope   	     = in->skySlope;   	
+
     source->pixWeightNotBad  = in->pixWeightNotBad;
     source->pixWeightNotPoor = in->pixWeightNotPoor;
+
     source->psfChisq         = in->psfChisq;
     source->crNsigma         = in->crNsigma;
@@ -259,4 +270,5 @@
     }
     mySource->region   = srcRegion;
+    mySource->windowRadius = Radius;
 
     return true;
@@ -328,4 +340,5 @@
         mySource->psfImage = NULL;
     }
+    mySource->windowRadius = Radius;
     return extend;
 }
Index: /tags/ipp-20111110/psModules/src/objects/pmSource.h
===================================================================
--- /tags/ipp-20111110/psModules/src/objects/pmSource.h	(revision 32717)
+++ /tags/ipp-20111110/psModules/src/objects/pmSource.h	(revision 32718)
@@ -97,4 +97,5 @@
     float apFluxErr;                    ///< apFluxErr corresponding to psfMag or extMag (depending on type)
 
+    float windowRadius;			///< size of box used for full analysis
     float skyRadius;			///< radius at which profile hits local sky (or goes flat)
     float skyFlux;			///< mean flux per pixel in aperture at which profile hits local sky (or goes flat)
