mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-08 17:42:14 +03:00
Patched a bug when creating HTML document structures, Daniel.
This commit is contained in:
@@ -1119,6 +1119,7 @@ htmlNewDoc(const CHAR *URI, const CHAR *ExternalID) {
|
||||
fprintf(stderr, "xmlNewDoc : malloc failed\n");
|
||||
return(NULL);
|
||||
}
|
||||
memset(cur, 0, sizeof(xmlDoc));
|
||||
|
||||
cur->type = XML_DOCUMENT_NODE;
|
||||
cur->version = NULL;
|
||||
|
Reference in New Issue
Block a user