From cf5361615e4bf2468fe963f690b2c398071e215f Mon Sep 17 00:00:00 2001 From: Gowtham Anandha Babu Date: Mon, 22 Sep 2014 12:42:08 +0530 Subject: [PATCH] obexd: Fix the double check for agent Removes the check for NULL agent. --- obexd/src/manager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/obexd/src/manager.c b/obexd/src/manager.c index 326e56f94..97ae278da 100644 --- a/obexd/src/manager.c +++ b/obexd/src/manager.c @@ -521,8 +521,7 @@ void manager_cleanup(void) /* FIXME: Release agent? */ - if (agent) - agent_free(agent); + agent_free(agent); g_dbus_detach_object_manager(connection); -- 2.47.3