mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
parser: Reenable ctxt->directory
Unused internally, but used in downstream code. Should fix #753.
This commit is contained in:
@@ -6184,6 +6184,12 @@ htmlCtxtReset(htmlParserCtxtPtr ctxt)
|
||||
ctxt->extSubURI = NULL;
|
||||
DICT_FREE(ctxt->extSubSystem);
|
||||
ctxt->extSubSystem = NULL;
|
||||
|
||||
if (ctxt->directory != NULL) {
|
||||
xmlFree(ctxt->directory);
|
||||
ctxt->directory = NULL;
|
||||
}
|
||||
|
||||
if (ctxt->myDoc != NULL)
|
||||
xmlFreeDoc(ctxt->myDoc);
|
||||
ctxt->myDoc = NULL;
|
||||
|
||||
Reference in New Issue
Block a user