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:
8a255b3
)
SAP: Fix not unregistering dummy interface on exit
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Thu, 3 May 2012 14:41:23 +0000
(17:41 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 3 May 2012 20:29:27 +0000
(23:29 +0300)
Dummy interface is registered on plugin init and is never unregistered
sap/sap-dummy.c
patch
|
blob
|
history
diff --git
a/sap/sap-dummy.c
b/sap/sap-dummy.c
index
acdec77
..
389548b
100644
(file)
--- a/
sap/sap-dummy.c
+++ b/
sap/sap-dummy.c
@@
-340,6
+340,9
@@
int sap_init(void)
void sap_exit(void)
{
+ g_dbus_unregister_interface(connection, SAP_DUMMY_PATH,
+ SAP_DUMMY_IFACE);
+
dbus_connection_unref(connection);
connection = NULL;
}