OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a248562
)
obexd: Fix the double check for agent
author
Gowtham Anandha Babu
<gowtham.ab@samsung.com>
Mon, 22 Sep 2014 07:12:08 +0000
(12:42 +0530)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 22 Sep 2014 16:06:48 +0000
(19:06 +0300)
Removes the check for NULL agent.
obexd/src/manager.c
patch
|
blob
|
history
diff --git
a/obexd/src/manager.c
b/obexd/src/manager.c
index
326e56f
..
97ae278
100644
(file)
--- 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);