Close the dictionary files after reading from them.

svn path=/trunk/; revision=16795
This commit is contained in:
Luis Ontanon 2005-12-14 09:50:11 +00:00
parent 4f567703de
commit 6124bdff49
1 changed files with 4 additions and 0 deletions

View File

@ -192,6 +192,8 @@
<<EOF>> {
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]);
}