Index: /branches/eam_rel9_b1/psLib/src/sys/psMemory.c
===================================================================
--- /branches/eam_rel9_b1/psLib/src/sys/psMemory.c	(revision 6227)
+++ /branches/eam_rel9_b1/psLib/src/sys/psMemory.c	(revision 6228)
@@ -8,6 +8,6 @@
 *  @author Robert Lupton, Princeton University
 *
-*  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-10-01 02:22:13 $
+*  @version $Revision: 1.65.16.1 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-01-28 01:17:09 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -579,4 +579,9 @@
     ptr->refCounter++;
     pthread_mutex_unlock(&ptr->refCounterMutex);
+
+    // Did the user ask to be informed about this allocation?
+    if (ptr->id == p_psMemAllocID) {
+        p_psMemAllocID += memAllocCallback(ptr);
+    }
 
     return vptr;
