1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Work on character encoding support for the HTML parser

Fixed some autoopen/autoclose probs for the HTML parser
Fixed a potential memleak in the encoding stuff
Daniel.
This commit is contained in:
Daniel Veillard
2000-07-02 07:56:37 +00:00
parent af743793c8
commit 365e13be6c
4 changed files with 193 additions and 168 deletions

View File

@ -1167,7 +1167,7 @@ xmlFindCharEncodingHandler(const char *name) {
iconv_close(icv_out);
return(NULL);
}
enc->name = NULL;
enc->name = xmlMemStrdup(name);
enc->input = NULL;
enc->output = NULL;
enc->iconv_in = icv_in;