mirror of git://git.sysmocom.de/ofono
ifx: Fix double free issue
This commit is contained in:
parent
779cc467de
commit
9620b00e77
|
@ -171,7 +171,7 @@ static void xcallstat_notify(GAtResult *result, gpointer user_data)
|
||||||
ofono_voicecall_disconnected(vc, call->id, r, NULL);
|
ofono_voicecall_disconnected(vc, call->id, r, NULL);
|
||||||
|
|
||||||
vd->local_release &= ~(0x1 << call->id);
|
vd->local_release &= ~(0x1 << call->id);
|
||||||
vd->calls = g_slist_remove(vd->calls, l);
|
vd->calls = g_slist_remove(vd->calls, call);
|
||||||
g_free(call);
|
g_free(call);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue