diff options
author | Henri Bragge <henri.bragge@ixonos.com> | 2011-02-17 13:51:25 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-18 00:45:14 +0100 |
commit | a4c4a4cdc2e85fc791204bc1f1f9e83df56d50be (patch) | |
tree | fe5b17a3fa5af7ff8b11dfc7735f26824de2209c /plugins | |
parent | 3373593f63cb4ff52d04952517f69710867fd849 (diff) | |
download | connman-a4c4a4cdc2e85fc791204bc1f1f9e83df56d50be.tar.gz connman-a4c4a4cdc2e85fc791204bc1f1f9e83df56d50be.tar.bz2 connman-a4c4a4cdc2e85fc791204bc1f1f9e83df56d50be.zip |
ofono: Fix memory leak in network activation
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ofono.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c index 29aaa618..066e9b71 100644 --- 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; |