Index: trunk/psLib/src/collections/psArray.c
===================================================================
--- trunk/psLib/src/collections/psArray.c	(revision 3264)
+++ trunk/psLib/src/collections/psArray.c	(revision 3286)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:23 $
+ *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-02-18 22:17:20 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -103,5 +103,5 @@
 
     // add the element to the end of the array.
-    psArr->data[n] = data;
+    psArr->data[n] = psMemIncrRefCounter(data);
     psArr->n = n+1;
 
