summaryrefslogtreecommitdiff
path: root/epan/dtd_grammar.lemon
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-01-15 20:14:00 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-01-15 20:14:00 +0000
commit27556d141a8c160db7f38e3e763c343c97ea8d0b (patch)
treebe23e27dd106486e1da8137ee1836656117dcc6e /epan/dtd_grammar.lemon
parent47730bc1e84da9176c372291f82c3d70f3b57d66 (diff)
downloadwireshark-27556d141a8c160db7f38e3e763c343c97ea8d0b.tar.gz
two minor leaks
svn path=/trunk/; revision=20443
Diffstat (limited to 'epan/dtd_grammar.lemon')
-rw-r--r--epan/dtd_grammar.lemon2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dtd_grammar.lemon b/epan/dtd_grammar.lemon
index 5b5bc24c84..0a3a19d80b 100644
--- a/epan/dtd_grammar.lemon
+++ b/epan/dtd_grammar.lemon
@@ -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);