imagehandlingutilities/thumbnailmanager/thumbnailserver/src/thumbnailserversession.cpp
changeset 36 c5df59b4ae2d
parent 30 b67379558a75
child 39 1a8af2cd6858
equal deleted inserted replaced
30:b67379558a75 36:c5df59b4ae2d
   905         if ( missingSizes->Count() == 0)
   905         if ( missingSizes->Count() == 0)
   906             {
   906             {
   907             // all thumbs already exist
   907             // all thumbs already exist
   908             CleanupStack::PopAndDestroy( missingSizes );
   908             CleanupStack::PopAndDestroy( missingSizes );
   909             delete missingSizes;
   909             delete missingSizes;
       
   910             missingSizes = NULL;
       
   911             
   910             if( aFile )
   912             if( aFile )
   911                {
   913                {
   912                aFile->Close();
   914                aFile->Close();
   913                }
   915                }
   914             return;
   916             return;
  1036         if ( missingSizes->Count() == 0)
  1038         if ( missingSizes->Count() == 0)
  1037             {
  1039             {
  1038             // all thumbs already exist
  1040             // all thumbs already exist
  1039             CleanupStack::PopAndDestroy( missingSizes );
  1041             CleanupStack::PopAndDestroy( missingSizes );
  1040             delete missingSizes;
  1042             delete missingSizes;
       
  1043             missingSizes = NULL;
       
  1044             
  1041             if ( aBuffer)
  1045             if ( aBuffer)
  1042                {
  1046                {
  1043                delete aBuffer;
  1047                delete aBuffer;
  1044                aBuffer = NULL; 
  1048                aBuffer = NULL; 
  1045                }
  1049                }