diff --git a/src/voicecall.c b/src/voicecall.c index 7d4f6a11..704c7c6f 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -4021,6 +4021,9 @@ void __ofono_voicecall_tone_cancel(struct ofono_voicecall *vc, int id) if (entry->id == id) break; + if (!entry) + return; + tone_request_finish(vc, entry, 0, FALSE); /*