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:
@ -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;
|
||||
|
Reference in New Issue
Block a user