From a4c4a4cdc2e85fc791204bc1f1f9e83df56d50be Mon Sep 17 00:00:00 2001 From: Henri Bragge Date: Thu, 17 Feb 2011 13:51:25 +0200 Subject: ofono: Fix memory leak in network activation --- plugins/ofono.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3