ncdengine/provider/server/src/ncdinstalloperationimpl.cpp
changeset 1 c42dffbd5b4f
parent 0 ba25891c3a9e
child 18 3ba40be8e484
equal deleted inserted replaced
0:ba25891c3a9e 1:c42dffbd5b4f
   465             if ( !(downloadInfo->DescriptorType() == KDescriptorTypeOdd &&
   465             if ( !(downloadInfo->DescriptorType() == KDescriptorTypeOdd &&
   466                 downloadInfo->ContentUri().Length() ) )
   466                 downloadInfo->ContentUri().Length() ) )
   467                 {
   467                 {
   468                 // Writing JAD to file on this side because proxies can't
   468                 // Writing JAD to file on this side because proxies can't
   469                 // write to engine's private dir
   469                 // write to engine's private dir
   470                 DeletePtr( iJadFile );
   470                 if ( iJadFile )
       
   471                 {
       
   472                     DeletePtr( iJadFile );
       
   473                 }
   471                 iJadFile = 
   474                 iJadFile = 
   472                     CNcdProviderUtils::InstallationServiceL().WriteJadL(
   475                     CNcdProviderUtils::InstallationServiceL().WriteJadL(
   473                         fileInfo->FilePath(), downloadInfo->DescriptorData() );
   476                         fileInfo->FilePath(), downloadInfo->DescriptorData() );
   474                 }
   477                 }
   475             }
   478             }