diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-06-18 16:46:21 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-06-18 16:46:21 +0000 |
commit | 161ab0aa507a96e0bfbe36d4e158bf765dd7f7d9 (patch) | |
tree | 8a2e3f9371dc16c24534872a387ffc912b5b447c | |
parent | b73d2a94ae615cb530b8cc9548d1a2bd06b57ed4 (diff) | |
download | php-git-161ab0aa507a96e0bfbe36d4e158bf765dd7f7d9.tar.gz |
Fixed bug #41724 (libxml_get_last_error() - errors survice request scope).
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | ext/libxml/libxml.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,8 @@ PHP NEWS - Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory already exists). (Pierre) +- Fixed bug #41724 (libxml_get_last_error() - errors survice request scope). + (thekid at php dot net, Ilia) - Fixed bug #41717 (imagepolygon does not respect thickness). (Pierre) - Fixed bug #41655 (open_basedir bypass via glob()). (Ilia) - Fixed bug #41640 (get_class_vars produces error on class constants). diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 5ad734b802..52d7bba45d 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -674,6 +674,7 @@ static PHP_RSHUTDOWN_FUNCTION(libxml) efree(LIBXML(error_list)); LIBXML(error_list) = NULL; } + xmlResetLastError(); return SUCCESS; } |