summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stk.c')
-rw-r--r--src/stk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stk.c b/src/stk.c
index a75b2b50..f5be1b71 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -1046,6 +1046,8 @@ static gboolean handle_command_select_item(const struct stk_command *cmd,
request_selection_cb, stk,
request_selection_destroy,
stk->timeout * 1000) < 0) {
+ request_selection_destroy(stk);
+
rsp->result.type = STK_RESULT_TYPE_TERMINAL_BUSY;
return TRUE;
}