[libxml2] Also reset nsNr in htmlCtxtReset
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Also reset nsNr in htmlCtxtReset
- Date: Thu, 28 Jul 2022 19:36:33 +0000 (UTC)
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]