diff -r 8b9e023e329f -r 1ac40e087278 telephonyprotocols/rawipnif/src/Sender.cpp --- a/telephonyprotocols/rawipnif/src/Sender.cpp Mon Jun 21 16:59:31 2010 +0300 +++ b/telephonyprotocols/rawipnif/src/Sender.cpp Thu Jul 15 19:58:53 2010 +0300 @@ -72,10 +72,13 @@ /** * Destructor. */ - { - iSendBuffer.Close(); - Cancel(); - } + { + Cancel(); + // iSendBuffer is a shared bit of memory between raw ip and bca + // you cannot delete it while bca might be using it otherwise + // bad things may happen. + iSendBuffer.Close(); + } void CSender::RunL() /**