upnpavcontroller/upnpavcontrollerserver/src/upnpuploadsession.cpp
changeset 34 eab116a48b80
parent 30 5ec426854821
equal deleted inserted replaced
33:6ac064bb53eb 34:eab116a48b80
   376     
   376     
   377     iTransferItems.Append( transferItem );
   377     iTransferItems.Append( transferItem );
   378     
   378     
   379     CUPnPResourceHelper* helper = CUPnPResourceHelper::NewL();
   379     CUPnPResourceHelper* helper = CUPnPResourceHelper::NewL();
   380     CleanupStack::Pop( tmpUpnpItem );
   380     CleanupStack::Pop( tmpUpnpItem );
       
   381     CleanupStack::PushL( helper );
   381     helper->SetItem( tmpUpnpItem ); // Transfer ownership
   382     helper->SetItem( tmpUpnpItem ); // Transfer ownership
   382     iResources.AppendL( helper );
   383     iResources.AppendL( helper );
       
   384     
       
   385     CleanupStack::Pop( helper );
   383     
   386     
   384     iUploader->MoveToTransferQueueL( (TAny*)transferItem.iKey );
   387     iUploader->MoveToTransferQueueL( (TAny*)transferItem.iKey );
   385     
   388     
   386     CleanupStack::PopAndDestroy( tmpTransferItem );
   389     CleanupStack::PopAndDestroy( tmpTransferItem );
   387     
   390