diff -r 420de9b004d4 -r 7e0cc21eb164 brandingserver/bsserver/cbsstoragemanager.cpp --- a/brandingserver/bsserver/cbsstoragemanager.cpp Tue Feb 02 00:23:45 2010 +0200 +++ b/brandingserver/bsserver/cbsstoragemanager.cpp Fri Apr 16 15:16:51 2010 +0300 @@ -900,9 +900,6 @@ CDir* directories = NULL; User::LeaveIfError( iFs.GetDir( driveAndPath, KEntryAttNormal, ESortByName, files, directories ) ); - - CleanupStack :: PushL (files); - CleanupStack :: PushL (directories); TInt count = files->Count(); for( TInt i = 0; i < count; i++ ) @@ -940,10 +937,7 @@ } CleanupStack::PopAndDestroy( fullName ); } - - CleanupStack :: PopAndDestroy (directories); - CleanupStack :: PopAndDestroy (files); - CleanupStack :: PopAndDestroy (nameWithDrive); + CleanupStack::PopAndDestroy( nameWithDrive ); } TRACE( T_LIT( "CBSStorageManager::CleanupFileL end") ); }