mpserviceplugins/mpxinmemoryplugin/src/mpxinmemoryplugin.cpp
changeset 25 3ec52facab4d
parent 20 82baf59ce8dd
child 45 612c4815aebe
equal deleted inserted replaced
22:ecf06a08d4d9 25:3ec52facab4d
   512     // Only 1 set of data per embedded context
   512     // Only 1 set of data per embedded context
   513     TInt index = iEmbeddedContext.Find( context );
   513     TInt index = iEmbeddedContext.Find( context );
   514     if( index != KErrNotFound )
   514     if( index != KErrNotFound )
   515         {
   515         {
   516         iEmbeddedContext.Remove( index );
   516         iEmbeddedContext.Remove( index );
       
   517         delete iTemporaryData[index];
   517         iTemporaryData.Remove( index );
   518         iTemporaryData.Remove( index );
   518         iEmbeddedContext.Compress();
   519         iEmbeddedContext.Compress();
   519         iTemporaryData.Compress();
   520         iTemporaryData.Compress();
   520         }
   521         }
   521     // Push onto list
   522     // Push onto list