[libxml2] Reset nsNr in xmlCtxtReset
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Reset nsNr in xmlCtxtReset
- Date: Mon, 18 Jul 2022 19:00:53 +0000 (UTC)
commit 5930fe01963136ab92125feec0c6204d9c9225dc
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Mon Jul 18 20:59:45 2022 +0200
Reset nsNr in xmlCtxtReset
parser.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/parser.c b/parser.c
index d278638d..e660b0a7 100644
--- a/parser.c
+++ b/parser.c
@@ -14820,6 +14820,8 @@ xmlCtxtReset(xmlParserCtxtPtr 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]