Index: /branches/eam_branches/ohana.20160226/src/libdvo/src/RegionHostTable.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/libdvo/src/RegionHostTable.c	(revision 39448)
+++ /branches/eam_branches/ohana.20160226/src/libdvo/src/RegionHostTable.c	(revision 39449)
@@ -47,5 +47,13 @@
     FREE (hosts[i].imseq);
     FREE (hosts[i].neighbors);
-    AstromOffsetTableFree(hosts[i].astromTable);
+    if (hosts[i].astromTable) {
+      FREE (hosts[i].astromTable->map);
+      FREE (hosts[i].astromTable->imageIDtoTableSeq);
+      FREE (hosts[i].astromTable);
+    }
+    // do NOT use AstromOffsetTableFree : an astromTable is
+    // only set here by relastro:assign_images, and it uses
+    // AstromOffsetTableAddMapFromImage to assign pointers, not copies
+    // AstromOffsetTableFree(hosts[i].astromTable);
   }
   free (hosts);
@@ -90,5 +98,5 @@
   RegionHostInfo *hosts = NULL;
   ALLOCATE (hosts, RegionHostInfo, NHOSTS);
-  InitRegionHosts (hosts, Nhosts, NHOSTS);
+  InitRegionHosts (hosts, 0, NHOSTS);
 
   int maxID = 0;
