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