summaryrefslogtreecommitdiff
path: root/ext/libxml
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-06-18 16:46:21 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-06-18 16:46:21 +0000
commit161ab0aa507a96e0bfbe36d4e158bf765dd7f7d9 (patch)
tree8a2e3f9371dc16c24534872a387ffc912b5b447c /ext/libxml
parentb73d2a94ae615cb530b8cc9548d1a2bd06b57ed4 (diff)
downloadphp-git-161ab0aa507a96e0bfbe36d4e158bf765dd7f7d9.tar.gz
Fixed bug #41724 (libxml_get_last_error() - errors survice request scope).
Diffstat (limited to 'ext/libxml')
-rw-r--r--ext/libxml/libxml.c1
1 files changed, 1 insertions, 0 deletions
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;
}