mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fixed bug #61557 (Crasher in tt-rss backend.php)
This commit is contained in:
parent
3c1888f584
commit
bf6fea6ba0
@ -860,7 +860,6 @@ static PHP_MSHUTDOWN_FUNCTION(libxml)
|
||||
{
|
||||
if (!_php_libxml_per_request_initialization) {
|
||||
xmlSetGenericErrorFunc(NULL, NULL);
|
||||
xmlSetStructuredErrorFunc(NULL, NULL);
|
||||
|
||||
xmlParserInputBufferCreateFilenameDefault(NULL);
|
||||
xmlOutputBufferCreateFilenameDefault(NULL);
|
||||
@ -876,11 +875,11 @@ static int php_libxml_post_deactivate()
|
||||
/* reset libxml generic error handling */
|
||||
if (_php_libxml_per_request_initialization) {
|
||||
xmlSetGenericErrorFunc(NULL, NULL);
|
||||
xmlSetStructuredErrorFunc(NULL, NULL);
|
||||
|
||||
xmlParserInputBufferCreateFilenameDefault(NULL);
|
||||
xmlOutputBufferCreateFilenameDefault(NULL);
|
||||
}
|
||||
xmlSetStructuredErrorFunc(NULL, NULL);
|
||||
|
||||
if (LIBXML(stream_context)) {
|
||||
/* the steam_context resource will be released by resource list destructor */
|
||||
|
Loading…
Reference in New Issue
Block a user