Index: trunk/psLib/test/astronomy/tst_psAstrometry.c
===================================================================
--- trunk/psLib/test/astronomy/tst_psAstrometry.c	(revision 2066)
+++ trunk/psLib/test/astronomy/tst_psAstrometry.c	(revision 2067)
@@ -5,6 +5,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-12 19:51:53 $
+ *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-10-13 00:10:50 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -387,7 +387,7 @@
     }
 
-    if (psMemGetRefCounter(fpa) != 2) {
-        psLogMsg(__func__,PS_LOG_ERROR,
-                 "psChipAlloc did not increment reference counter for parent FPA.");
+    if (psMemGetRefCounter(fpa) != 1) {
+        psLogMsg(__func__,PS_LOG_ERROR,
+                 "psChipAlloc incremented reference counter for parent FPA.");
         return 5;
     }
@@ -439,7 +439,7 @@
     }
 
-    if (psMemGetRefCounter(fpa) != 3) {
-        psLogMsg(__func__,PS_LOG_ERROR,
-                 "psChipAlloc did not increment reference counter for parent FPA.");
+    if (psMemGetRefCounter(fpa) != 1) {
+        psLogMsg(__func__,PS_LOG_ERROR,
+                 "psChipAlloc incremented reference counter for parent FPA.");
         return 15;
     }
@@ -537,7 +537,7 @@
     }
 
-    if (psMemGetRefCounter(chip) != 2) {
-        psLogMsg(__func__,PS_LOG_ERROR,
-                 "psCellAlloc did not increment reference counter for parent.");
+    if (psMemGetRefCounter(chip) != 1) {
+        psLogMsg(__func__,PS_LOG_ERROR,
+                 "psCellAlloc incremented reference counter for parent.");
         return 5;
     }
@@ -603,7 +603,7 @@
     }
 
-    if (psMemGetRefCounter(chip) != 3) {
-        psLogMsg(__func__,PS_LOG_ERROR,
-                 "psCellAlloc did not increment reference counter for parent FPA.");
+    if (psMemGetRefCounter(chip) != 1) {
+        psLogMsg(__func__,PS_LOG_ERROR,
+                 "psCellAlloc incremented reference counter for parent FPA.");
         return 15;
     }
@@ -677,7 +677,7 @@
     }
 
-    if (psMemGetRefCounter(image) != 2) {
-        psLogMsg(__func__,PS_LOG_ERROR,
-                 "psReadoutAlloc did not increment reference counter for image.");
+    if (psMemGetRefCounter(image) != 1) {
+        psLogMsg(__func__,PS_LOG_ERROR,
+                 "psReadoutAlloc incremented reference counter for image.");
         return 5;
     }
Index: trunk/psLib/test/astronomy/tst_psAstrometry03.c
===================================================================
--- trunk/psLib/test/astronomy/tst_psAstrometry03.c	(revision 2066)
+++ trunk/psLib/test/astronomy/tst_psAstrometry03.c	(revision 2067)
@@ -22,8 +22,4 @@
     }
 
-    for (i=0;i<NUM_CHIPS;i++) {
-        psArrayElementFree(chips[i]->cells);
-    }
-    psArrayElementFree(myFPA->chips);
     psFree(myFPA);
 
