mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-28 07:21:26 +03:00
Patched a bug when creating HTML document structures, Daniel.
This commit is contained in:
parent
d2d38e9ab3
commit
e7a5a77dd0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user