summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-11-07 10:05:35 +0000
committerDmitry Stogov <dmitry@php.net>2005-11-07 10:05:35 +0000
commit88edad9f0812b115fc349596c85c50418950bcd0 (patch)
tree87152b9e6f94569032a49ddbafea8b40afda586c
parent6ec23a56d81c8cb4a5e8ef4faab40fd678eae4d2 (diff)
downloadphp-git-88edad9f0812b115fc349596c85c50418950bcd0.tar.gz
Fixed bug #35091 (SoapClient leaks memory)
-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;
}