Fixed crash

This commit is contained in:
Dmitry Stogov 2006-03-03 10:29:29 +00:00
parent b32a78c4fa
commit d46b474e1e

View File

@ -1519,8 +1519,8 @@ PHP_METHOD(SoapServer, handle)
function = deserialize_function_call(service->sdl, doc_request, service->actor, &function_name, &num_params, &params, &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) {