filemanager/Engine/src/CFileManagerRemovableDriveHandler.cpp
branchRCL_3
changeset 13 5181328fad28
parent 5 1e73d2d04cbc
child 14 efe289f793e7
equal deleted inserted replaced
11:649c558486f0 13:5181328fad28
   736 // 
   736 // 
   737 void CFileManagerRemovableDriveHandler::GetRestoreInfoArrayL(
   737 void CFileManagerRemovableDriveHandler::GetRestoreInfoArrayL(
   738         RArray< CFileManagerRestoreSettings::TInfo >& aArray,
   738         RArray< CFileManagerRestoreSettings::TInfo >& aArray,
   739         const TInt aDrive )
   739         const TInt aDrive )
   740     {
   740     {
       
   741     
       
   742     CleanupClosePushL( aArray );
       
   743     
   741     CFileManagerBackupSettings& settings( iEngine.BackupSettingsL() );
   744     CFileManagerBackupSettings& settings( iEngine.BackupSettingsL() );
   742 
       
   743     aArray.Reset();
   745     aArray.Reset();
   744 
   746 
   745     TResourceReader driveReader;
   747     TResourceReader driveReader;
   746     CCoeEnv::Static()->CreateResourceReaderLC(
   748     CCoeEnv::Static()->CreateResourceReaderLC(
   747         driveReader,
   749         driveReader,
   790         }
   792         }
   791 
   793 
   792     CleanupStack::PopAndDestroy( &tz );
   794     CleanupStack::PopAndDestroy( &tz );
   793     CleanupStack::PopAndDestroy( &archives );
   795     CleanupStack::PopAndDestroy( &archives );
   794     CleanupStack::PopAndDestroy( params );
   796     CleanupStack::PopAndDestroy( params );
       
   797     CleanupStack::Pop( &aArray ) ;
       
   798     
   795     }
   799     }
   796 
   800 
   797 // ---------------------------------------------------------------------------
   801 // ---------------------------------------------------------------------------
   798 // CFileManagerRemovableDriveHandler::DoCancel
   802 // CFileManagerRemovableDriveHandler::DoCancel
   799 // ---------------------------------------------------------------------------
   803 // ---------------------------------------------------------------------------