mpx/commonframework/common/src/mpxheapmanager.cpp
branchRCL_3
changeset 56 63223d4fd956
parent 55 6c1dfe4da5dd
--- a/mpx/commonframework/common/src/mpxheapmanager.cpp	Tue Aug 31 15:41:40 2010 +0300
+++ b/mpx/commonframework/common/src/mpxheapmanager.cpp	Wed Sep 01 12:23:05 2010 +0100
@@ -80,7 +80,7 @@
     //
     // Create first free heap cell
     //
-    new(aChunk.Base()+hmSize)RMPXHeapCell(0,iEndOffset-hmSize);
+    RMPXHeapCell* cell=new(aChunk.Base()+hmSize)RMPXHeapCell(0,iEndOffset-hmSize);
     // set up free cell list header
     iFree.iNextOffset = hmSize;
     iFree.iLen = 0;