From 161ab0aa507a96e0bfbe36d4e158bf765dd7f7d9 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 18 Jun 2007 16:46:21 +0000 Subject: Fixed bug #41724 (libxml_get_last_error() - errors survice request scope). --- ext/libxml/libxml.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/libxml') 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; } -- cgit v1.2.1