summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index b16b6f23..2f846d75 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -338,7 +338,7 @@ static void dial_request_user_cancel(struct ofono_voicecall *vc,
return;
if (!call || call == vc->dial_req->call)
- dial_request_finish(vc->dial_req->call->vc, TRUE);
+ dial_request_finish(vc, TRUE);
}
static DBusMessage *voicecall_hangup(DBusConnection *conn,