forked from osmocom/wireshark
Close UAT file after loading.
Open files may prevent deleting a used profile with UAT files. svn path=/trunk/; revision=36096
This commit is contained in:
parent
9a7dbb4182
commit
002cac81c2
|
@ -304,6 +304,7 @@ gboolean uat_load(uat_t* uat_in, char** err) {
|
|||
g_free(fname); /* we're done with the file name now */
|
||||
|
||||
yylex();
|
||||
fclose(yyin);
|
||||
yyrestart(NULL);
|
||||
|
||||
uat->changed = FALSE;
|
||||
|
|
Loading…
Reference in New Issue