summaryrefslogtreecommitdiff
path: root/epan/dtd_preparse.l
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-03-11 18:19:48 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-03-11 18:19:48 +0000
commitcff34ee126429f4aa50e8ab2a3bca376cec4c624 (patch)
treea708431c98c244cd24863df364b2a5084febecaf /epan/dtd_preparse.l
parent19f81800ba6afe40aec1a2d6742c1f03ed63b3fa (diff)
downloadwireshark-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.l4
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);