brandingserver/bsserver/cbsstoragemanager.cpp
changeset 2 89455bbf90d8
parent 0 e6b17d312c8b
child 19 7e0cc21eb164
child 42 cfd5c2994f10
equal deleted inserted replaced
1:b610b446cb01 2:89455bbf90d8
   898 		
   898 		
   899 		CDir* files = NULL;
   899 		CDir* files = NULL;
   900 		CDir* directories = NULL;
   900 		CDir* directories = NULL;
   901 		
   901 		
   902 		User::LeaveIfError( iFs.GetDir( driveAndPath, KEntryAttNormal, ESortByName, files, directories ) );
   902 		User::LeaveIfError( iFs.GetDir( driveAndPath, KEntryAttNormal, ESortByName, files, directories ) );
       
   903 
       
   904 		CleanupStack :: PushL (files);
       
   905 		CleanupStack :: PushL (directories);
   903 		
   906 		
   904 		TInt count = files->Count();
   907 		TInt count = files->Count();
   905 		for( TInt i = 0; i < count; i++ )
   908 		for( TInt i = 0; i < count; i++ )
   906 			{
   909 			{
   907 			const TEntry file = (*files)[ i ];
   910 			const TEntry file = (*files)[ i ];
   935 						}
   938 						}
   936 					}
   939 					}
   937 				}
   940 				}
   938 			CleanupStack::PopAndDestroy( fullName );
   941 			CleanupStack::PopAndDestroy( fullName );
   939 			}
   942 			}
   940 		CleanupStack::PopAndDestroy( nameWithDrive );
   943 		
       
   944 		CleanupStack :: PopAndDestroy (directories);
       
   945 		CleanupStack :: PopAndDestroy (files);
       
   946 		CleanupStack :: PopAndDestroy (nameWithDrive);
   941 		}
   947 		}
   942 	TRACE( T_LIT( "CBSStorageManager::CleanupFileL end") );
   948 	TRACE( T_LIT( "CBSStorageManager::CleanupFileL end") );
   943 	}
   949 	}
   944 
   950 
   945 // ---------------------------------------------------------------------------
   951 // ---------------------------------------------------------------------------