diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-20 17:24:23 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-20 17:24:23 +0000 |
commit | bf73bba1c4caa16c1856576fd31862faad4bca20 (patch) | |
tree | 80238ce0c4161cfa70dc3f1e408bfb75e38065dc /epan/dtd_parse.l | |
parent | 7989a9a11bf973c90046eb94636915edc05d58cb (diff) |
Fix a couple of errors found by valgrind.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15900 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dtd_parse.l')
-rw-r--r-- | epan/dtd_parse.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dtd_parse.l b/epan/dtd_parse.l index 38a905b4ef..c0b1abfae0 100644 --- a/epan/dtd_parse.l +++ b/epan/dtd_parse.l @@ -82,7 +82,8 @@ #define DTD_PARSE(token_type) \ { DEBUG_DTD_TOKEN; \ - build_data->location = location; \ + build_data->location = location; \ + location = NULL; \ DtdParse(pParser, (token_type), new_token(yytext), build_data); \ if(build_data->error->len > 0) yyterminate(); \ } |