emailservices/emailstore/message_store/debuglog/src/DebugLog.cpp
branchRCL_3
changeset 33 da5135c61bad
parent 8 e1b6206813b4
child 63 d189ee25cf9d
equal deleted inserted replaced
32:a3a1ae9acec6 33:da5135c61bad
  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.