diff options
author | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-10-06 22:01:52 +0000 |
---|---|---|
committer | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-10-06 22:01:52 +0000 |
commit | 561feb0317057c123400a35bb1a83e33912df709 (patch) | |
tree | 8f66732ed3dab8bb0ea9c9ee39a0ac71265719ef /epan/dtd_parse.l | |
parent | 96b9e879cadd90bb65fceab6c0d1822bc914772d (diff) |
remove location from dtd_build_data_t avoiding to (double) free it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16147 f5534014-38df-0310-8fa8-9805f1628bb7
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; |