emailservices/emailstore/base_plugin/inc/BasePlugin.h
branchRCL_3
changeset 11 0396474f30f5
parent 8 e1b6206813b4
child 13 8592a65ad3fb
equal deleted inserted replaced
10:f5907b1a1053 11:0396474f30f5
   812             {
   812             {
   813             }
   813             }
   814 
   814 
   815         virtual ~CMailboxInfo()
   815         virtual ~CMailboxInfo()
   816             {
   816             {
   817             iMailBox->RemoveObserverL( iBasePlugin );
   817             if ( iMailBox )
       
   818                 iMailBox->RemoveObserverL( iBasePlugin );
       
   819 
   818             iObservers.Close();
   820             iObservers.Close();
   819 
   821 
   820             delete iMailBoxName;
   822             delete iMailBoxName;
   821             delete iMailBoxDisplayName;
   823             delete iMailBoxDisplayName;
   822             delete iBrandingId;
   824             delete iBrandingId;