parent
47730bc1e8
commit
27556d141a
|
@ -96,7 +96,7 @@ doctype ::= TAG_START DOCTYPE_KW NAME(Name) OPEN_BRACKET dtd_parts CLOSE_BRACKET
|
|||
if(bd->proto_root)
|
||||
g_free(bd->proto_root);
|
||||
|
||||
bd->proto_root = g_strdup(Name->text);
|
||||
bd->proto_root = Name->text;
|
||||
|
||||
g_strdown(bd->proto_name);
|
||||
|
||||
|
|
|
@ -337,6 +337,8 @@ extern dtd_build_data_t* dtd_parse(GString* s) {
|
|||
|
||||
yyrestart(NULL);
|
||||
|
||||
if (location) g_free(location);
|
||||
|
||||
location = NULL;
|
||||
|
||||
DtdParseFree(pParser, g_free );
|
||||
|
|
Loading…
Reference in New Issue