diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-05-15 22:25:35 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-05-15 22:25:35 +0000 |
commit | 9d9aa0f2414798b33a34f8444c41c7662bedf5c2 (patch) | |
tree | 1a9fc73d48981106182e297a52dd22aebc579e39 /ui | |
parent | 63a5845486393d65bae047ab69206744e2896867 (diff) |
Don't leak an open file handle (CID 702423).
svn path=/trunk/; revision=42642
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/hostlist_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/hostlist_table.c b/ui/gtk/hostlist_table.c index cb8af51a60..b0eee8035f 100644 --- a/ui/gtk/hostlist_table.c +++ b/ui/gtk/hostlist_table.c @@ -1111,6 +1111,7 @@ open_as_map_cb(GtkWindow *copy_bt, gpointer data _U_) simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Could not create temporary directory\n%s", map_path); + fclose(tpl_file); return; } |