Skip to content

Commit fd93d2c

Browse files
committed
ext/soap: SoapServer::setObject() does not need bailout handler wrapper
As this methods never uses the bailout mechanism
1 parent 234e8c2 commit fd93d2c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,16 +1082,12 @@ PHP_METHOD(SoapServer, setObject)
10821082
RETURN_THROWS();
10831083
}
10841084

1085-
SOAP_SERVER_BEGIN_CODE();
1086-
1087-
FETCH_THIS_SERVICE(service);
1085+
FETCH_THIS_SERVICE_NO_BAILOUT(service);
10881086

10891087
service->type = SOAP_OBJECT;
10901088

10911089
zval_ptr_dtor(&service->soap_object);
10921090
ZVAL_OBJ_COPY(&service->soap_object, Z_OBJ_P(obj));
1093-
1094-
SOAP_SERVER_END_CODE();
10951091
}
10961092
/* }}} */
10971093

0 commit comments

Comments
 (0)