diff options
Diffstat (limited to 'drivers/isimodem/voicecall.c')
-rw-r--r-- | drivers/isimodem/voicecall.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c index 92d98ab8..5cbba1fe 100644 --- a/drivers/isimodem/voicecall.c +++ b/drivers/isimodem/voicecall.c @@ -1764,8 +1764,10 @@ static void call_verify_cb(const GIsiMessage *msg, void *data) struct ofono_voicecall *ovc = data; struct isi_voicecall *ivc = ofono_voicecall_get_data(ovc); - if (g_isi_msg_error(msg) < 0) + if (g_isi_msg_error(msg) < 0) { + ofono_voicecall_remove(ovc); return; + } ISI_VERSION_DBG(msg); |