Index: trunk/psLib/src/astro/psTime.c
===================================================================
--- trunk/psLib/src/astro/psTime.c	(revision 4540)
+++ trunk/psLib/src/astro/psTime.c	(revision 4898)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-07-12 19:12:00 $
+ *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-08-30 01:14:10 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -434,4 +434,9 @@
 }
 
+static void timeFree(psTime *outTime)
+{
+    // There are non dynamic allocated items
+}
+
 psTime* psTimeAlloc(psTimeType type)
 {
@@ -449,5 +454,5 @@
     // Allocate memory for structure
     outTime = (psTime*)psAlloc(sizeof(psTime));
-
+    psMemSetDeallocator(outTime, (psFreeFunc)timeFree);
     // Initialize members
     outTime->sec = 0;
@@ -458,4 +463,11 @@
     return outTime;
 }
+
+
+bool psMemCheckTime(psPtr ptr)
+{
+    return ( psMemGetDeallocator(ptr) == (psFreeFunc)timeFree );
+}
+
 
 psTime* psTimeGetNow(psTimeType type)
