From: Dmitry Stogov Date: Mon, 7 Nov 2005 10:07:55 +0000 (+0000) Subject: Fixed bug #35091 (SoapClient leaks memory) X-Git-Tag: RELEASE_2_0_1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e744e2b423b90db2b7f33d5eb850dddb87b0568;p=php Fixed bug #35091 (SoapClient leaks memory) --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index be9a332fe1..74cfec7483 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -981,7 +981,6 @@ PHP_METHOD(SoapServer, SoapServer) ret = zend_list_insert(service, le_service); add_property_resource(this_ptr, "service", ret); - zend_list_addref(ret); SOAP_SERVER_END_CODE(); } @@ -2211,7 +2210,6 @@ PHP_METHOD(SoapClient, SoapClient) ret = zend_list_insert(sdl, le_sdl); add_property_resource(this_ptr, "sdl", ret); - zend_list_addref(ret); SOAP_GLOBAL(soap_version) = old_soap_version; }