diff options
author | crvs <jfpbdc@kth.se> | 2019-02-04 17:28:56 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-02-04 21:45:08 +0100 |
commit | 7b81e69a19913b4d8c830bda8d988f8fc8391b21 (patch) | |
tree | ea43ab93ad3271c4c73f5a693eacac675b90759e /src | |
parent | 5657e19e175da5abe101038ff6d8153dda9854a3 (diff) | |
download | calcurse-7b81e69a19913b4d8c830bda8d988f8fc8391b21.tar.gz calcurse-7b81e69a19913b4d8c830bda8d988f8fc8391b21.zip |
Close stream after exporting iCal item
Fixes GitHub issue #178.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |