diff options
author | Gowtham Anandha Babu <gowtham.ab@samsung.com> | 2014-12-17 11:25:49 +0530 |
---|---|---|
committer | Gowtham Anandha Babu <gowtham.ab@samsung.com> | 2014-12-17 11:25:49 +0530 |
commit | 8220b3c50b8ac261df92d257d405e1d831ca52cd (patch) | |
tree | 82a21f17cceaef37aef489d0ec4a1df33a55d1f3 /obexd/src | |
parent | b717865956d271481c19699807806050b092c390 (diff) | |
download | bluez-8220b3c50b8ac261df92d257d405e1d831ca52cd.tar.gz bluez-8220b3c50b8ac261df92d257d405e1d831ca52cd.tar.bz2 bluez-8220b3c50b8ac261df92d257d405e1d831ca52cd.zip |
obexd: Fix the double check for agent
Removes the check for NULL agent.
Git repo link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cf5361615e4bf2468fe963f690b2c398071e215f
Change-Id: I5c0ab31c1b36de6007cb01ffe688aeafb4c6cebf
Diffstat (limited to 'obexd/src')
-rw-r--r-- | obexd/src/manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/obexd/src/manager.c b/obexd/src/manager.c index 3e4e3758..10027018 100644 --- a/obexd/src/manager.c +++ b/obexd/src/manager.c @@ -653,8 +653,7 @@ void manager_cleanup(void) /* FIXME: Release agent? */ - if (agent) - agent_free(agent); + agent_free(agent); g_dbus_detach_object_manager(connection); |