emailservices/emailstore/message_store/debuglog/src/DebugLog.cpp
branchRCL_3
changeset 16 4ce476e64c59
parent 8 e1b6206813b4
child 63 d189ee25cf9d
equal deleted inserted replaced
13:0396474f30f5 16:4ce476e64c59
  1222 //#endif        
  1222 //#endif        
  1223         aHandler->iObjects.Remove( index );
  1223         aHandler->iObjects.Remove( index );
  1224         
  1224         
  1225         if( aHandler->iObjects.Count() == 0 )
  1225         if( aHandler->iObjects.Count() == 0 )
  1226             {
  1226             {
       
  1227             iFiles.Remove( iFiles.Find(aHandler) );
  1227             delete aHandler;
  1228             delete aHandler;
  1228             
       
  1229             iFiles.Remove( iFiles.Find(aHandler) );                        
       
  1230             } // end if
  1229             } // end if
  1231         }
  1230         }
  1232     else
  1231     else
  1233         {        
  1232         {        
  1234         // Something is wrong.  The most likely case is incorrect usage of the debug log macros.
  1233         // Something is wrong.  The most likely case is incorrect usage of the debug log macros.