com php-src: Fix #72793: xml_parser_free leaks mem wh en execute xml_set_object: UPGRADING
| From: | Christoph Michael Becker | Date: | Fri, 12 Aug 2016 10:54:21 +0000 |
| Subject: | com php-src: Fix #72793: xml_parser_free leaks mem wh en execute xml_set_object: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93762@lists.php.net to get a copy of this message | ||
Commit: 92a076a92bf7d2fb20e0bc5d376ce65fab268b52
Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 12 Aug 2016 12:54:21 +0200
Parents: fe41f87e468f8ae5ab68f9e4abfd58fa4bbc3f9d
Branches: PHP-7.0 PHP-7..1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=92a076a92bf7d2fb20e0bc5d376ce65fab268b52
Log:
Fix #72793: xml_parser_free leaks mem when execute xml_set_object
Bugs:
https://bugs.php.net/72793
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 6201719..1be3253 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -517,6 +517,10 @@ Other
- Stream:
. Removed set_socket_blocking() in favor of its alias stream_set_blocking().
+- XML:
+ . xml_set_object() now requires to manually unset the $parser when finished,
+ to avoid memory leaks.
+
- XSL:
. Removed xsl.security_prefs ini option. Use XsltProcessor::setSecurityPrefs()
instead.