supl/locationsuplfw/terminalinitiationapi/src/epos_suplterminalapi.cpp
changeset 39 3efc7a0e8755
parent 22 4c4ed41530db
equal deleted inserted replaced
37:e175e2ba2fb0 39:3efc7a0e8755
   857 		parValues.ResetAndDestroy();
   857 		parValues.ResetAndDestroy();
   858 		return err;
   858 		return err;
   859 		}
   859 		}
   860 
   860 
   861 	parValues.ResetAndDestroy();
   861 	parValues.ResetAndDestroy();
   862 	aParamValues.ResetAndDestroy();
   862     //coverity[deref_ptr_in_call]
   863 	TInt error = iSuplStorageSettings->GetAllSlp(parValues); //handle return value...
   863 	TInt error = iSuplStorageSettings->GetAllSlp(parValues); //handle return value...
   864 	if (error!=KErrNone)
   864 	if (error!=KErrNone)
   865 		{
   865 		{
   866 		delete serverAddress;
   866 		delete serverAddress;
   867 		delete iapName;
   867 		delete iapName;
   903 		aParamValues.Append(params);
   903 		aParamValues.Append(params);
   904 		}
   904 		}
   905 	delete serverAddress;
   905 	delete serverAddress;
   906 	delete iapName;	
   906 	delete iapName;	
   907     aParamValues.Close();
   907     aParamValues.Close();
       
   908     //coverity[check_after_deref]
   908 	if (iSuplStorageSettings)
   909 	if (iSuplStorageSettings)
   909 		{
   910 		{
   910 		delete iSuplStorageSettings;
   911 		delete iSuplStorageSettings;
   911 		iSuplStorageSettings = NULL;		
   912 		iSuplStorageSettings = NULL;		
   912 		}
   913 		}