From d46b474e1ee510528860b527e62d29fff6e2591e Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 3 Mar 2006 10:29:29 +0000 Subject: [PATCH] Fixed crash --- ext/soap/soap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 8da6ad4afb..f14d479077 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1519,8 +1519,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) { -- 2.50.1