Index: trunk/psLib/src/astronomy/psAstrometry.c
===================================================================
--- trunk/psLib/src/astronomy/psAstrometry.c	(revision 1785)
+++ trunk/psLib/src/astronomy/psAstrometry.c	(revision 1816)
@@ -1,5 +1,5 @@
 /** @file  psAstrometry.c
 *
-*  @brief This file defines the basic types for astronomical coordinate 
+*  @brief This file defines the basic types for astronomical coordinate
 *  transformation
 *
@@ -8,6 +8,6 @@
 *  @author George Gusciora, MHPCC
 *
-*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-09-10 23:41:45 $
+*  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-09-15 22:58:35 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -197,4 +197,5 @@
     if (readout != NULL) {
         psFree(readout->image);
+        psFree(readout->mask);
         psFree(readout->objects);
         psFree(readout->metadata);
@@ -383,4 +384,5 @@
 
     readout->image = psMemIncrRefCounter((psImage*)image);
+    readout->mask = NULL;
     readout->objects = NULL;
     readout->metadata = NULL;
