From 71bda8ace6e377f52597e4b59e7a836acc19496d Mon Sep 17 00:00:00 2001 From: lego Date: Wed, 14 Dec 2005 09:50:11 +0000 Subject: Close the dictionary files after reading from them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16795 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/radius_dict.l | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'epan/radius_dict.l') diff --git a/epan/radius_dict.l b/epan/radius_dict.l index 586b5f1975..3ea07a028d 100644 --- a/epan/radius_dict.l +++ b/epan/radius_dict.l @@ -192,6 +192,8 @@ <> { + fclose(yyin); + if ( --include_stack_ptr < 0 ) { yyterminate(); } else { @@ -375,6 +377,8 @@ radius_dictionary_t* radius_load_dictionary (gchar* dir, const gchar* filename, yylex(); + fclose(yyin); + for (i=0; i < 10; i++) { if (fullpaths[i]) g_free(fullpaths[i]); } -- cgit v1.2.3