From: Dmitry Stogov Date: Mon, 7 Nov 2005 10:05:35 +0000 (+0000) Subject: Fixed bug #35091 (SoapClient leaks memory) X-Git-Tag: php-5.1.0RC5~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88edad9f0812b115fc349596c85c50418950bcd0;p=php Fixed bug #35091 (SoapClient leaks memory) --- diff --git a/NEWS b/NEWS index 2594f2f843..447c2dc355 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Nov 2005, PHP 5.1 - Fixed initializing and argument checking for posix_mknod(). (Derick) +- Fixed bug #35091 (SoapClient leaks memory). (Dmitry) - Fixed bug #35078 (configure does not find ldap_start_tls_s). (Jani) - Fixed bugs #35022, #35019 (Regression in the behavior of key() and current() functions). (Ilia) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 38813b78c1..c71c73ce7d 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(); } @@ -2217,7 +2216,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; }