From: Dmitry Stogov Date: Thu, 16 Sep 2004 08:11:07 +0000 (+0000) Subject: Fixed crash with SoapFault and register_shutdown_function(). X-Git-Tag: php-5.0.2RC1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8cd133a33ded039af9668cf4a926735d488a719;p=php Fixed crash with SoapFault and register_shutdown_function(). --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index c384ce5288..53486966d7 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1756,6 +1756,7 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeade xmlFreeDoc(doc_return); xmlFree(buf); + zend_clear_exception(TSRMLS_C); zend_bailout(); }