diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-10-06 22:01:52 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-10-06 22:01:52 +0000 |
commit | f1b498587b4dde692d996b0bea482eb9af974c12 (patch) | |
tree | 8f66732ed3dab8bb0ea9c9ee39a0ac71265719ef /epan/dtd_parse.l | |
parent | 5ddbeb2cb8bf074af3bb332b7f523cbc12897650 (diff) | |
download | wireshark-f1b498587b4dde692d996b0bea482eb9af974c12.tar.gz |
remove location from dtd_build_data_t avoiding to (double) free it.
svn path=/trunk/; revision=16147
Diffstat (limited to 'epan/dtd_parse.l')
-rw-r--r-- | epan/dtd_parse.l | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dtd_parse.l b/epan/dtd_parse.l index 545242d497..d2e5380f23 100644 --- a/epan/dtd_parse.l +++ b/epan/dtd_parse.l @@ -82,7 +82,6 @@ #define DTD_PARSE(token_type) \ { DEBUG_DTD_TOKEN; \ - build_data->location = location; \ DtdParse(pParser, (token_type), new_token(yytext), build_data); \ if(build_data->error->len > 0) yyterminate(); \ } @@ -326,7 +325,6 @@ extern dtd_build_data_t* dtd_parse(GString* s) { build_data->elements = g_ptr_array_new(); build_data->attributes = g_ptr_array_new(); - build_data->location = NULL; build_data->error = g_string_new(""); location = NULL; |