1From 5930fe01963136ab92125feec0c6204d9c9225dc Mon Sep 17 00:00:00 2001 2From: Nick Wellnhofer <wellnhofer@aevum.de> 3Date: Mon, 18 Jul 2022 20:59:45 +0200 4Subject: [PATCH] Reset nsNr in xmlCtxtReset 5 6Reference:https://github.com/GNOME/libxml2/commit/5930fe01963136ab92125feec0c6204d9c9225dc 7Conflict:NA 8 9--- 10 parser.c | 2 ++ 11 1 file changed, 2 insertions(+) 12 13diff --git a/parser.c b/parser.c 14index dd507c0..6b04bbf 100644 15--- a/parser.c 16+++ b/parser.c 17@@ -14835,6 +14835,8 @@ xmlCtxtReset(xmlParserCtxtPtr ctxt) 18 ctxt->nameNr = 0; 19 ctxt->name = NULL; 20 21+ ctxt->nsNr = 0; 22+ 23 DICT_FREE(ctxt->version); 24 ctxt->version = NULL; 25 DICT_FREE(ctxt->encoding); 26-- 272.27.0 28 29