forked from osmocom/wireshark
Close the dictionary files after reading from them.
svn path=/trunk/; revision=16795
This commit is contained in:
parent
4f567703de
commit
6124bdff49
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue