mpxplugins/serviceplugins/collectionplugins/mpxinmemoryplugin/src/mpxinmemoryplugin.cpp
branchRCL_3
changeset 14 c54d95799c80
parent 0 ff3acec5bc43
equal deleted inserted replaced
13:c8156a91d13c 14:c54d95799c80
   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