clfwrapper/ClientSrc/CCLFItemListModelImpl.cpp
branchRCL_3
changeset 63 e538444823de
parent 47 b73252188534
equal deleted inserted replaced
57:2872ae438bf7 63:e538444823de
   155 //
   155 //
   156 CCLFItemListModelImpl::~CCLFItemListModelImpl()
   156 CCLFItemListModelImpl::~CCLFItemListModelImpl()
   157     {
   157     {
   158     iChangedItemProvider.RemoveChangedItemProviderObserver( this );
   158     iChangedItemProvider.RemoveChangedItemProviderObserver( this );
   159     delete iMimeTypeArray;
   159     delete iMimeTypeArray;
   160     iMimeTypeArray = NULL;
       
   161     delete iMediaTypeArray;
   160     delete iMediaTypeArray;
   162     iMediaTypeArray = NULL;
       
   163     iItemArray.ResetAndDestroy();
   161     iItemArray.ResetAndDestroy();
   164     delete iItemProvider;
   162     delete iItemProvider;
   165     iResultArray.Close();
   163     iResultArray.Close();
   166     delete iDefaultOperation;
   164     delete iDefaultOperation;
   167     iSortingStyleArray.ResetAndDestroy();
   165     iSortingStyleArray.ResetAndDestroy();