summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/voicecall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 6ad58ad3..11dc6251 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1953,7 +1953,8 @@ static void voicecall_unregister(struct ofono_atom *atom)
vc->sim_watch = 0;
}
- dial_request_finish(vc, TRUE);
+ if (vc->dial_req)
+ dial_request_finish(vc, TRUE);
for (l = vc->call_list; l; l = l->next)
voicecall_dbus_unregister(vc, l->data);