diff options
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r-- | ext/libxml/libxml.c | 1 |
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; } |