Index: /branches/eam_branches/ohana.20160226/src/relastro/src/UpdateChips.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/relastro/src/UpdateChips.c	(revision 39449)
+++ /branches/eam_branches/ohana.20160226/src/relastro/src/UpdateChips.c	(revision 39450)
@@ -152,4 +152,6 @@
       }
     } 
+
+    AstromOffsetMapFree (oldCoords.offsetMap);
 
     // Apply the modified coords back to the measure.R,D.  Note that raw.R,D, ref.L,M, etc
@@ -356,4 +358,6 @@
     } 
 
+    AstromOffsetMapFree (oldCoords.offsetMap);
+
     // apply the modified R,D back to the measures
     setImageRaw (threadinfo->catalog, threadinfo->Ncatalog, i, raw, Nraw, MODE_MOSAIC);
@@ -569,4 +573,5 @@
     AstromOffsetMapSetOrder (truMap, tmpMap->Nx, tmpMap->Ny, image);
     AstromOffsetMapCopyData (truMap, tmpMap);
+    AstromOffsetMapFree (tmpMap);
     return;
   }
@@ -579,4 +584,5 @@
     unlockUpdateChips ();
     AstromOffsetMapCopyData (image->coords.offsetMap, tmpMap);
+    AstromOffsetMapFree (tmpMap);
     return;
   }
