mirror of git://git.sysmocom.de/ofono
stemodem: fix memleak when calls are disconnected
This commit is contained in:
parent
09780386d8
commit
777271a6a6
|
@ -491,6 +491,7 @@ static void ecav_notify(GAtResult *result, gpointer user_data)
|
|||
|
||||
vd->local_release &= ~(1 << existing_call->id);
|
||||
vd->calls = g_slist_remove(vd->calls, l->data);
|
||||
g_free(existing_call);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue