phoneclientserver/phoneserver/src/standard/cphsrvsession.cpp
changeset 53 25b8d29b7c59
parent 33 8d5d7fcf9b59
equal deleted inserted replaced
51:12bc758d6a02 53:25b8d29b7c59
   136                     function, 
   136                     function, 
   137                     *this );
   137                     *this );
   138 
   138 
   139             // Add to container (takes ownership)
   139             // Add to container (takes ownership)
   140             iContainer->AddL( subSession );
   140             iContainer->AddL( subSession );
   141             if (function != EPhoneServerImageHandlerSubSessionOpen )
   141             CleanupStack::Pop( subSession );    
   142                 {
   142             
   143                 CleanupStack::Pop( subSession );    
       
   144                 }
       
   145             // Get a handle for the object
   143             // Get a handle for the object
   146             const TInt handle = iObjectIx->AddL( subSession );
   144             const TInt handle = iObjectIx->AddL( subSession );
   147 
   145 
   148             // Inform client of the handle its been allocated
   146             // Inform client of the handle its been allocated
   149             TPckg<TInt> handlePckg( handle );
   147             TPckg<TInt> handlePckg( handle );