From ce1bb1afa8f2fc0de403d4e2d8e17c057d450f18 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sun, 16 Jun 2024 00:38:42 +0100 Subject: [PATCH] ext/soap: SoapServer::getFunctions() does not need bailout handler wrapper As this methods never uses the bailout mechanism --- ext/soap/soap.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 9f94a3baa1c..7736d2bbc47 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1102,9 +1102,7 @@ PHP_METHOD(SoapServer, getFunctions) RETURN_THROWS(); } - SOAP_SERVER_BEGIN_CODE(); - - FETCH_THIS_SERVICE(service); + FETCH_THIS_SERVICE_NO_BAILOUT(service); array_init(return_value); if (service->type == SOAP_OBJECT) { @@ -1129,8 +1127,6 @@ PHP_METHOD(SoapServer, getFunctions) } } ZEND_HASH_FOREACH_END(); } - - SOAP_SERVER_END_CODE(); } /* }}} */