diff -r 8ef833fbf5aa -r d0d9cc530d21 telephonyprotocols/pdplayer/src/PDPSCPR.cpp --- a/telephonyprotocols/pdplayer/src/PDPSCPR.cpp Wed Aug 18 10:57:47 2010 +0300 +++ b/telephonyprotocols/pdplayer/src/PDPSCPR.cpp Thu Sep 02 21:42:07 2010 +0300 @@ -42,12 +42,6 @@ using namespace NetStateMachine; using namespace Factories; -//We reserve space for two preallocated activities that may start concurrently on the SCPR -//node: destroy and data client stop. -static const TUint KDefaultMaxPreallocatedActivityCount = 2; -static const TUint KMaxPreallocatedActivitySize = sizeof(MeshMachine::CNodeRetryParallelActivity) + sizeof(MeshMachine::APreallocatedOriginators<4>); -static const TUint KPDPSCPRPreallocatedActivityBufferSize = KDefaultMaxPreallocatedActivityCount * KMaxPreallocatedActivitySize; - //-========================================================= // // CPDPSubConnectionProvider Activities @@ -266,7 +260,7 @@ IP SubConnection Provider Second Phase Constructor */ { - CCoreSubConnectionProvider::ConstructL(KPDPSCPRPreallocatedActivityBufferSize); + CCoreSubConnectionProvider::ConstructL(); } void CPDPSubConnectionProvider::Received(TNodeContextBase& aContext)