1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-10 08:58:16 +03:00

Also reset nsNr in htmlCtxtReset

This commit is contained in:
Nick Wellnhofer 2022-07-28 21:35:17 +02:00
parent 5930fe0196
commit a82ea25fc8

View File

@ -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);