summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index 27c6a31..a12ab7c 100644
--- a/src/io.c
+++ b/src/io.c
@@ -1186,6 +1186,7 @@ void io_export_data(enum export_type type, int export_uid)
pcal_export_data(stream);
if (show_dialogs() && ui_mode == UI_CURSES) {
+ fclose(stream);
status_mesg(success, enter);
keys_wait_for_any_key(win[KEY].p);
}