diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-03-11 18:19:48 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-03-11 18:19:48 +0000 |
commit | cff34ee126429f4aa50e8ab2a3bca376cec4c624 (patch) | |
tree | a708431c98c244cd24863df364b2a5084febecaf /epan/dtd_preparse.l | |
parent | 19f81800ba6afe40aec1a2d6742c1f03ed63b3fa (diff) | |
download | wireshark-cff34ee126429f4aa50e8ab2a3bca376cec4c624.tar.gz |
Close the files after reading!
svn path=/trunk/; revision=17591
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); |