From: Dmitry Stogov Date: Fri, 22 Sep 2006 13:39:32 +0000 (+0000) Subject: Prevent access to dead zval X-Git-Tag: php-5.2.0RC5~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7f180f9306b9f9d4b2c0607bdcb0fb136fa5a20;p=php Prevent access to dead zval --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 3bb48defd3..25f8ecfef5 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1765,9 +1765,11 @@ PHP_METHOD(SoapServer, handle) #if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) if (service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) { zval_ptr_dtor(&soap_obj); + soap_obj = NULL; } #else zval_ptr_dtor(&soap_obj); + soap_obj = NULL; #endif } } else {