diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index 3d8fb590..885cbfa3 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -872,6 +872,9 @@ static void at_voicecall_remove(struct ofono_voicecall *vc) { struct voicecall_data *vd = ofono_voicecall_get_data(vc); + if (vd->clcc_source) + g_source_remove(vd->clcc_source); + g_slist_foreach(vd->calls, (GFunc) g_free, NULL); g_slist_free(vd->calls);