Index: trunk/psLib/src/collections/psBitSet.c
===================================================================
--- trunk/psLib/src/collections/psBitSet.c	(revision 1041)
+++ trunk/psLib/src/collections/psBitSet.c	(revision 1073)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-15 02:45:43 $
+ *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-23 23:00:15 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -55,4 +55,6 @@
 /*  FUNCTION IMPLEMENTATION - LOCAL                                          */
 /*****************************************************************************/
+static void bitSetFree(psBitSet *restrict inBitSet);
+
 
 /** Private function to create a mask.
@@ -88,4 +90,5 @@
     numBytes = ceil(n/8.0);
     newObj = psAlloc(sizeof(psBitSet));
+    p_psMemSetDeallocator(newObj,(psFreeFcn)bitSetFree);
     newObj->n = numBytes;
 
@@ -98,5 +101,5 @@
 }
 
-void psBitSetFree(psBitSet *restrict inBitSet)
+static void bitSetFree(psBitSet *restrict inBitSet)
 {
     if(inBitSet == NULL) {
@@ -105,5 +108,4 @@
     }
     psFree(inBitSet->bits);
-    psFree(inBitSet);
 }
 
