commsfwsupport/commselements/nodemessages/inc/nm_interfaces.h
branchRCL_3
changeset 24 00c6709d25aa
parent 18 9644881fedd0
child 25 9d7ce34704c8
--- a/commsfwsupport/commselements/nodemessages/inc/nm_interfaces.h	Thu Jul 15 20:01:43 2010 +0300
+++ b/commsfwsupport/commselements/nodemessages/inc/nm_interfaces.h	Thu Aug 19 11:05:47 2010 +0300
@@ -416,6 +416,13 @@
 			iPreAllocSize=0;
 			iPreAllocatedActivityChunk=NULL;
 			}
+		~TPreAllocStore()
+			{
+			if(iPreAllocatedActivityChunk != NULL)
+				{
+				User::Free(iPreAllocatedActivityChunk);
+				}
+			}
 		TUint iPreAllocSize;
 		TAny* iPreAllocatedActivityChunk;
 		};