telephonyprotocols/rawipnif/src/RawIPFlow.cpp
branchRCL_3
changeset 5 7ef16719d8cb
parent 0 3553901f7fa8
child 7 fe8b59ab9fa0
--- a/telephonyprotocols/rawipnif/src/RawIPFlow.cpp	Fri Feb 19 23:59:33 2010 +0200
+++ b/telephonyprotocols/rawipnif/src/RawIPFlow.cpp	Fri Mar 12 15:49:38 2010 +0200
@@ -529,11 +529,13 @@
     {
     _LOG_L1C2(_L8("CRawIPFlow %08x:\tUnbind()"), this);
 
-	ASSERT(iBinder);
-	iBinder->Unbind(aUpperReceiver, aUpperControl);
+	if (iBinder)
+	    {
+        iBinder->Unbind(aUpperReceiver, aUpperControl);
 
-    delete iBinder;
-    iBinder = NULL;
+        delete iBinder;
+        iBinder = NULL;
+	    }
 
     SendDataClientIdleIfNoClients();
     }