diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-08-27 14:44:50 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-08-27 19:01:44 -0500 |
commit | 07d576bdca20dc684c9843bf0d3ffdd0d41f5e57 (patch) | |
tree | 8cbfe0422a793154fe3cc747d99938bab6880ee5 /src | |
parent | f528e5d5661606cc96495f3b585546050395a0ac (diff) | |
download | ofono-07d576bdca20dc684c9843bf0d3ffdd0d41f5e57.tar.bz2 |
stk: Free select item menu
If calling the agent failed for some reason
Diffstat (limited to 'src')
-rw-r--r-- | src/stk.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |