commsfwsupport/commselements/nodemessages/inc/nm_interfaces.h
branchRCL_3
changeset 26 b564fb5fd78b
parent 25 9d7ce34704c8
--- a/commsfwsupport/commselements/nodemessages/inc/nm_interfaces.h	Tue Aug 31 16:25:36 2010 +0300
+++ b/commsfwsupport/commselements/nodemessages/inc/nm_interfaces.h	Wed Sep 01 12:35:48 2010 +0100
@@ -416,6 +416,13 @@
 			iPreAllocSize=0;
 			iPreAllocatedActivityChunk=NULL;
 			}
+		~TPreAllocStore()
+			{
+			if(iPreAllocatedActivityChunk != NULL)
+				{
+				User::Free(iPreAllocatedActivityChunk);
+				}
+			}
 		TUint iPreAllocSize;
 		TAny* iPreAllocatedActivityChunk;
 		};