projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3373593
)
ofono: Fix memory leak in network activation
author
Henri Bragge
<henri.bragge@ixonos.com>
Thu, 17 Feb 2011 11:51:25 +0000
(13:51 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 17 Feb 2011 23:45:14 +0000
(
00:45
+0100)
plugins/ofono.c
patch
|
blob
|
history
diff --git
a/plugins/ofono.c
b/plugins/ofono.c
index
29aaa61
..
066e9b7
100644
(file)
--- a/
plugins/ofono.c
+++ b/
plugins/ofono.c
@@
-444,7
+444,7
@@
static int set_network_active(struct connman_network *network,
error = set_property(path, OFONO_CONTEXT_INTERFACE,
"Active", DBUS_TYPE_BOOLEAN, &active,
- set_active_reply, g_strdup(path),
NULL
);
+ set_active_reply, g_strdup(path),
g_free
);
if (active == FALSE && error == -EINPROGRESS)
error = 0;