diff options
Diffstat (limited to 'src/voicecall.c')
-rw-r--r-- | src/voicecall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 3912abeb..21a80c4d 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1550,21 +1550,21 @@ void ofono_voicecall_notify(struct ofono_voicecall *vc, if (!newcall) { ofono_error("Unable to allocate call"); - goto err; + goto error; } v = voicecall_create(vc, newcall); if (!v) { ofono_error("Unable to allocate voicecall_data"); - goto err; + goto error; } v->detect_time = time(NULL); if (!voicecall_dbus_register(v)) { ofono_error("Unable to register voice call"); - goto err; + goto error; } vc->call_list = g_slist_insert_sorted(vc->call_list, v, call_compare); @@ -1573,7 +1573,7 @@ void ofono_voicecall_notify(struct ofono_voicecall *vc, return; -err: +error: if (newcall) g_free(newcall); |