From 65af499cc67950a3c40626f704025e4f371bc2b7 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 4 May 2012 15:49:44 +0300 Subject: agent: Memory leak in error reply The pending call was not unreffed. --- src/agent.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/agent.c') diff --git a/src/agent.c b/src/agent.c index 33a11ecd..feeb48e9 100644 --- a/src/agent.c +++ b/src/agent.c @@ -632,6 +632,7 @@ static void report_error_reply(DBusPendingCall *call, void *user_data) connman_service_unref(report_error->service); g_free(report_error); dbus_message_unref(reply); + dbus_pending_call_unref(call); } int __connman_agent_report_error(struct connman_service *service, -- cgit v1.2.3