From: Dmitry Stogov Date: Fri, 22 Sep 2006 13:39:17 +0000 (+0000) Subject: Prevent access to dead zval X-Git-Tag: RELEASE_1_0_0RC1~1588 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d365bd66c2d24c162c079a27a2c84d8098d1df02;p=php Prevent access to dead zval --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 5d89c30fd7..06c22ea479 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2046,9 +2046,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 {