mirror of git://git.sysmocom.de/ofono
stk: Free select item menu
If calling the agent failed for some reason
This commit is contained in:
parent
f528e5d566
commit
07d576bdca
|
@ -1046,6 +1046,8 @@ static gboolean handle_command_select_item(const struct stk_command *cmd,
|
||||||
request_selection_cb, stk,
|
request_selection_cb, stk,
|
||||||
request_selection_destroy,
|
request_selection_destroy,
|
||||||
stk->timeout * 1000) < 0) {
|
stk->timeout * 1000) < 0) {
|
||||||
|
request_selection_destroy(stk);
|
||||||
|
|
||||||
rsp->result.type = STK_RESULT_TYPE_TERMINAL_BUSY;
|
rsp->result.type = STK_RESULT_TYPE_TERMINAL_BUSY;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue