Index: /trunk/psLib/src/collections/psList.c
===================================================================
--- /trunk/psLib/src/collections/psList.c	(revision 946)
+++ /trunk/psLib/src/collections/psList.c	(revision 947)
@@ -6,6 +6,6 @@
  *  @author Robert Daniel DeSonia, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-09 02:16:41 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-09 19:50:32 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -33,15 +33,4 @@
 
 
-
-static psListElem *listElemAlloc(void)
-{
-    return(psAlloc(sizeof(psListElem)));
-}
-
-static void listElemFree(psListElem *elem)
-{
-    psFree(elem);
-}
-
 psList *psListAlloc(void *data)
 {
@@ -75,5 +64,5 @@
 
         p_psCustomFree(elemFree, psMemDecrRefCounter(ptr->data));
-        listElemFree(ptr);
+        psFree(ptr);
 
         ptr = next;
@@ -92,5 +81,5 @@
 {
     psListElem* position;
-    psListElem* elem = listElemAlloc();
+    psListElem* elem;
     int cursorIndex = 0;
 
@@ -102,4 +91,5 @@
         return list;
     }
+    elem = psAlloc(sizeof(psListElem));
 
     pthread_mutex_lock(&list->lock)
@@ -257,5 +247,5 @@
      */
     data = elem->data;
-    listElemFree(elem);
+    psFree(elem);
     return data;
 }
Index: /trunk/psLib/src/types/psList.c
===================================================================
--- /trunk/psLib/src/types/psList.c	(revision 946)
+++ /trunk/psLib/src/types/psList.c	(revision 947)
@@ -6,6 +6,6 @@
  *  @author Robert Daniel DeSonia, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-09 02:16:41 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-09 19:50:32 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -33,15 +33,4 @@
 
 
-
-static psListElem *listElemAlloc(void)
-{
-    return(psAlloc(sizeof(psListElem)));
-}
-
-static void listElemFree(psListElem *elem)
-{
-    psFree(elem);
-}
-
 psList *psListAlloc(void *data)
 {
@@ -75,5 +64,5 @@
 
         p_psCustomFree(elemFree, psMemDecrRefCounter(ptr->data));
-        listElemFree(ptr);
+        psFree(ptr);
 
         ptr = next;
@@ -92,5 +81,5 @@
 {
     psListElem* position;
-    psListElem* elem = listElemAlloc();
+    psListElem* elem;
     int cursorIndex = 0;
 
@@ -102,4 +91,5 @@
         return list;
     }
+    elem = psAlloc(sizeof(psListElem));
 
     pthread_mutex_lock(&list->lock)
@@ -257,5 +247,5 @@
      */
     data = elem->data;
-    listElemFree(elem);
+    psFree(elem);
     return data;
 }
