summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-09-26 07:40:34 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-09-26 07:41:06 -0500
commit9620b00e7795f9e493fcab2521095e93da5b0324 (patch)
tree55e02006a8fc6a4f1d37629b5a2ba622a993e450 /drivers
parent779cc467de9f94a22b29989f542fe324a98b2005 (diff)
downloadofono-9620b00e7795f9e493fcab2521095e93da5b0324.tar.bz2
ifx: Fix double free issue
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ifxmodem/voicecall.c2
1 files changed, 1 insertions, 1 deletions
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;