From: Dmitry Stogov Date: Fri, 3 Mar 2006 10:28:58 +0000 (+0000) Subject: Fixed crash X-Git-Tag: RELEASE_1_2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43621bdc7aad8d25bcd6993c1d37ef3ac700c21f;p=php Fixed crash --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 1eea723a95..259b24c1fd 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1520,8 +1520,8 @@ PHP_METHOD(SoapServer, handle) function = deserialize_function_call(service->sdl, doc_request, service->actor, &function_name, &num_params, ¶ms, &soap_version, &soap_headers TSRMLS_CC); xmlFreeDoc(doc_request); + soap_obj = NULL; if (service->type == SOAP_CLASS) { - soap_obj = NULL; #if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) /* If persistent then set soap_obj from from the previous created session (if available) */ if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) {