photosgallery/viewframework/medialists/src/glxcachemanager.cpp
branchRCL_3
changeset 24 ea65f74e6de4
parent 23 b023a8d2866a
equal deleted inserted replaced
23:b023a8d2866a 24:ea65f74e6de4
  1005                         iRequestOwner = list;
  1005                         iRequestOwner = list;
  1006                         CleanupStack::PopAndDestroy(attrSpecs); 
  1006                         CleanupStack::PopAndDestroy(attrSpecs); 
  1007                         TGlxIdSpaceId spaceId = list->IdSpaceId(iRequestedItemIndexes[0]);
  1007                         TGlxIdSpaceId spaceId = list->IdSpaceId(iRequestedItemIndexes[0]);
  1008                         HandleCollectionMediaL(spaceId, *iMPXMedia, KErrNone);
  1008                         HandleCollectionMediaL(spaceId, *iMPXMedia, KErrNone);
  1009                         DeleteImageViewerInstance();
  1009                         DeleteImageViewerInstance();
       
  1010                         delete iReader;
       
  1011                         iReader = NULL;
  1010                         return;
  1012                         return;
  1011                         }
  1013                         }
  1012                     else
  1014                     else
  1013                         {
  1015                         {
  1014                         // Issue the request
  1016                         // Issue the request