supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasuplsession.cpp
branchRCL_3
changeset 13 9c303455e256
parent 8 6fcbaa43369c
child 14 b88ebe0cbbbe
--- a/supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasuplsession.cpp	Tue May 11 16:36:36 2010 +0300
+++ b/supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasuplsession.cpp	Tue May 25 13:09:42 2010 +0300
@@ -3850,9 +3850,11 @@
                             }
                         CleanupStack::PopAndDestroy(serverParams);
                         }
-                    
+                    if(iSuplState)
+                    	{
                     delete iSuplState;
                     iSuplState = NULL;
+                      }
                     CleanupStack::PushL(hslpAdress);
                     ServerAddressCheckForSuplInitL();
                     iSuplState = COMASuplEndState::NewL(iErrorStatusCode,iOMASuplAsnHandlerBaseImpl,iEncodedSuplInit,hslpAdress);