diff options
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r-- | epan/dtd_preparse.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index 979d8625ff..e38cb46f39 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.l @@ -184,7 +184,9 @@ extern GString* dtd_preparse(const gchar* dname,const gchar* fname, GString* er BEGIN OUTSIDE; yylex(); - + + fclose(yyin); + yyrestart(NULL); g_hash_table_foreach_remove(entities,free_gstring_hash_items,NULL); |