Index: trunk/psLib/src/astro/psSphereOps.c
===================================================================
--- trunk/psLib/src/astro/psSphereOps.c	(revision 4708)
+++ trunk/psLib/src/astro/psSphereOps.c	(revision 4898)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-08-05 01:40:45 $
+ *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-08-30 01:14:10 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -33,4 +33,8 @@
 #define JULIAN_CENTURY 36525.0
 
+static void sphereRotFree(psSphereRot *result)
+{
+    // There are non dynamic allocated items
+}
 
 psSphereRot* psSphereRotAlloc(double alphaP,
@@ -58,8 +62,15 @@
     // calculate t*s*r.
     psSphereRot* result = psSphereRotCombine(NULL,&t,&s);
+    psMemSetDeallocator(result, (psFreeFunc)sphereRotFree);
     psSphereRotCombine(result,result,&r);
 
     return result;
 }
+
+bool psMemCheckSphereRot(psPtr ptr)
+{
+    return ( psMemGetDeallocator(ptr) == (psFreeFunc)sphereRotFree );
+}
+
 
 psSphereRot* psSphereRotQuat(double q0,
