]> granicus.if.org Git - php/commitdiff
Fixed bug #35091 (SoapClient leaks memory)
authorDmitry Stogov <dmitry@php.net>
Mon, 7 Nov 2005 10:05:35 +0000 (10:05 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 7 Nov 2005 10:05:35 +0000 (10:05 +0000)
NEWS
ext/soap/soap.c

diff --git a/NEWS b/NEWS
index 2594f2f843a4b6ad8401380bf896dd5c462139c5..447c2dc355ff28ca9f7346e67b9f6c68960e4657 100644 (file)
--- 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)
index 38813b78c160eded24ed4b55d0d0ca6d60223ace..c71c73ce7d55a924002095a6d58b58caa0f0b9e7 100644 (file)
@@ -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;
        }