summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index af47393..7e1db53 100644
--- a/menu.c
+++ b/menu.c
@@ -15,7 +15,7 @@ static void menu_close(Ted *ted, bool restore_prev_active_buffer) {
ted->menu = MENU_NONE;
if (restore_prev_active_buffer) ted->active_buffer = ted->prev_active_buffer;
ted->prev_active_buffer = NULL;
-
+ file_selector_free(&ted->file_selector);
buffer_clear(&ted->line_buffer);
}