diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/voicecall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 8be74872..7b5fe3bf 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -2281,6 +2281,9 @@ int __ofono_voicecall_dial(struct ofono_voicecall *vc, */ req = g_try_new0(struct dial_request, 1); + if (req == NULL) + return -ENOMEM; + req->message = g_strdup(message); req->icon_id = icon_id; req->interaction = interaction; |