telephonyprotocols/rawipnif/src/RawIPFlow.cpp
branchRCL_3
changeset 14 7ef16719d8cb
parent 0 3553901f7fa8
child 16 fe8b59ab9fa0
equal deleted inserted replaced
9:962e6306d9d2 14:7ef16719d8cb
   527 
   527 
   528 void CRawIPFlow::Unbind(MUpperDataReceiver* aUpperReceiver, MUpperControl* aUpperControl)
   528 void CRawIPFlow::Unbind(MUpperDataReceiver* aUpperReceiver, MUpperControl* aUpperControl)
   529     {
   529     {
   530     _LOG_L1C2(_L8("CRawIPFlow %08x:\tUnbind()"), this);
   530     _LOG_L1C2(_L8("CRawIPFlow %08x:\tUnbind()"), this);
   531 
   531 
   532 	ASSERT(iBinder);
   532 	if (iBinder)
   533 	iBinder->Unbind(aUpperReceiver, aUpperControl);
   533 	    {
   534 
   534         iBinder->Unbind(aUpperReceiver, aUpperControl);
   535     delete iBinder;
   535 
   536     iBinder = NULL;
   536         delete iBinder;
       
   537         iBinder = NULL;
       
   538 	    }
   537 
   539 
   538     SendDataClientIdleIfNoClients();
   540     SendDataClientIdleIfNoClients();
   539     }
   541     }
   540 
   542 
   541 
   543