summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--ext/soap/soap.c2
2 files changed, 1 insertions, 2 deletions
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;
}