diff options
Diffstat (limited to 'src/stk.c')
-rw-r--r-- | src/stk.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -809,11 +809,12 @@ static DBusMessage *stk_select_item(DBusConnection *conn, DBG(""); - if (stk_send_envelope(stk, &e, menu_selection_envelope_cb, 0)) - return __ofono_error_failed(msg); - stk->pending = dbus_message_ref(msg); + if (stk_send_envelope(stk, &e, menu_selection_envelope_cb, 0)) + __ofono_dbus_pending_reply(&stk->pending, + __ofono_error_failed(stk->pending)); + return NULL; } |