diff options
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(); \ } |