From 9620b00e7795f9e493fcab2521095e93da5b0324 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sun, 26 Sep 2010 07:40:34 -0500 Subject: [PATCH] ifx: Fix double free issue --- drivers/ifxmodem/voicecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ifxmodem/voicecall.c b/drivers/ifxmodem/voicecall.c index 12a202cd..9d2c29db 100644 --- a/drivers/ifxmodem/voicecall.c +++ b/drivers/ifxmodem/voicecall.c @@ -171,7 +171,7 @@ static void xcallstat_notify(GAtResult *result, gpointer user_data) ofono_voicecall_disconnected(vc, call->id, r, NULL); 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); return;