networkcontrol/ipnetworklayer/src/ipprotodeftscpr.cpp
branchRCL_3
changeset 20 7e41d162e158
parent 19 3652a10b304a
child 21 abbed5a4b42a
--- a/networkcontrol/ipnetworklayer/src/ipprotodeftscpr.cpp	Thu Jul 15 20:25:02 2010 +0300
+++ b/networkcontrol/ipnetworklayer/src/ipprotodeftscpr.cpp	Thu Aug 19 11:25:30 2010 +0300
@@ -23,7 +23,7 @@
 
 #include <comms-infras/corescprstates.h>
 #include <comms-infras/corescpractivities.h>
-#include "ipprotocprstates.h"
+#include "IPProtoCprStates.h"
 
 #include "ipprotodeftscpr.h"
 #include "ipprotodeftscprstates.h"
@@ -202,7 +202,8 @@
            }
        }
 	if (iControl)
-		delete iControl;
+		iControl->AsyncDelete();
+	
 	//incase registration is successful and Network is configured. 
 	if (iNotify)
 	    {