metadataengine/server/src/mdsnotifier.cpp
branchRCL_3
changeset 19 b73252188534
parent 9 82c0024438c8
equal deleted inserted replaced
18:63c982fb92f2 19:b73252188534
    78 // ------------------------------------------------
    78 // ------------------------------------------------
    79 //
    79 //
    80 CMdSNotifier::~CMdSNotifier()
    80 CMdSNotifier::~CMdSNotifier()
    81     {
    81     {
    82     delete iComparator;
    82     delete iComparator;
       
    83     iComparator = NULL;
    83     
    84     
    84     const TInt count = iEntries.Count();
    85     const TInt count = iEntries.Count();
    85     
    86     
    86     for ( TInt i = 0; i < count; ++i )
    87     for ( TInt i = 0; i < count; ++i )
    87         {
    88         {
   584                 {
   585                 {
   585                 e.TriggerError( KErrCancel );
   586                 e.TriggerError( KErrCancel );
   586                 }
   587                 }
   587             
   588             
   588             delete e.iSerializedCondition;
   589             delete e.iSerializedCondition;
       
   590             e.iSerializedCondition = NULL;
   589             delete e.iDataBuffer;
   591             delete e.iDataBuffer;
       
   592             e.iDataBuffer = NULL;
   590             iEntries.Remove( i );
   593             iEntries.Remove( i );
   591             }
   594             }
   592         }
   595         }
   593     }
   596     }
   594 
   597