[libxml2] Also reset nsNr in htmlCtxtReset



commit a82ea25fc83f563c574ddb863d6c17d9c5abdbd2
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Thu Jul 28 21:35:17 2022 +0200

    Also reset nsNr in htmlCtxtReset

 HTMLparser.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/HTMLparser.c b/HTMLparser.c
index 9079fa8a..1520663b 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -6743,6 +6743,8 @@ htmlCtxtReset(htmlParserCtxtPtr ctxt)
     ctxt->nameNr = 0;
     ctxt->name = NULL;
 
+    ctxt->nsNr = 0;
+
     DICT_FREE(ctxt->version);
     ctxt->version = NULL;
     DICT_FREE(ctxt->encoding);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]