Skip to content

Commit 92a076a

Browse files
committed
Fix #72793: xml_parser_free leaks mem when execute xml_set_object
1 parent fe41f87 commit 92a076a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,10 @@ Other
517517
- Stream:
518518
. Removed set_socket_blocking() in favor of its alias stream_set_blocking().
519519

520+
- XML:
521+
. xml_set_object() now requires to manually unset the $parser when finished,
522+
to avoid memory leaks.
523+
520524
- XSL:
521525
. Removed xsl.security_prefs ini option. Use XsltProcessor::setSecurityPrefs()
522526
instead.

0 commit comments

Comments
 (0)