diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-02-28 16:11:20 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-02-28 16:11:20 +0000 |
commit | 002cac81c26427db154354dfad2fe04c06351433 (patch) | |
tree | 5709aeda6d8515a88a5852de041ab5e9bdd3aaea /epan/uat_load.l | |
parent | 9a7dbb4182e4b1867a646a05f069818651d364ff (diff) | |
download | wireshark-002cac81c26427db154354dfad2fe04c06351433.tar.gz |
Close UAT file after loading.
Open files may prevent deleting a used profile with UAT files.
svn path=/trunk/; revision=36096
Diffstat (limited to 'epan/uat_load.l')
-rw-r--r-- | epan/uat_load.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/uat_load.l b/epan/uat_load.l index 0d094465fb..c07e493651 100644 --- a/epan/uat_load.l +++ b/epan/uat_load.l @@ -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; |