projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0978038
)
stemodem: fix memleak when calls are disconnected
author
Jeevaka Badrappan
<jeevaka.badrappan@elektrobit.com>
Mon, 7 Feb 2011 23:02:52 +0000
(15:02 -0800)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 8 Feb 2011 03:57:31 +0000
(21:57 -0600)
drivers/stemodem/voicecall.c
patch
|
blob
|
history
diff --git
a/drivers/stemodem/voicecall.c
b/drivers/stemodem/voicecall.c
index
ca275cd
..
dd5d009
100644
(file)
--- a/
drivers/stemodem/voicecall.c
+++ b/
drivers/stemodem/voicecall.c
@@
-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;
}