diff -r 9d7ce34704c8 -r b564fb5fd78b commsfwsupport/commselements/nodemessages/inc/nm_interfaces.h --- 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; };