From: Dmitry Stogov Date: Thu, 16 Sep 2004 08:12:27 +0000 (+0000) Subject: Fixed crash with SoapFault and register_shutdown_function(). X-Git-Tag: PRE_NEW_VM_GEN_PATCH~294 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a149080d85440af05f5c1344edec7685725423b;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(); }