diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-09-20 17:24:23 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-09-20 17:24:23 +0000 |
commit | 5cb2a5e1628ab28e4dbb56f6b834c858ee736b98 (patch) | |
tree | 80238ce0c4161cfa70dc3f1e408bfb75e38065dc /epan/dtd_parse.l | |
parent | ba83bf145fc57c59b16d67ca78a97e8e6716d193 (diff) | |
download | wireshark-5cb2a5e1628ab28e4dbb56f6b834c858ee736b98.tar.gz wireshark-5cb2a5e1628ab28e4dbb56f6b834c858ee736b98.tar.bz2 wireshark-5cb2a5e1628ab28e4dbb56f6b834c858ee736b98.zip |
Fix a couple of errors found by valgrind.
svn path=/trunk/; revision=15900
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(); \ } |