diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-06 02:14:11 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-09-06 02:14:11 +0300 |
commit | c0e36773cd39036911e2691e90a1549f95713b27 (patch) | |
tree | 1dfd759363deda37fbd470ad9252cf4700a0c9b6 /input/main.c | |
parent | e39e47274ac26e9900067f55e6a2090e3c861d2e (diff) | |
parent | 91402bad9a182902c242f98f1e5f55d4190b4d01 (diff) |
Merge branch 'master' of ssh://master.kernel.org/pub/scm/bluetooth/bluez
Diffstat (limited to 'input/main.c')
-rw-r--r-- | input/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/input/main.c b/input/main.c index 4851324c..8df96891 100644 --- a/input/main.c +++ b/input/main.c @@ -35,8 +35,6 @@ #include "logging.h" #include "manager.h" -DBusConnection *connection = NULL; - static GKeyFile *load_config_file(const char *file) { GKeyFile *keyfile; @@ -54,6 +52,8 @@ static GKeyFile *load_config_file(const char *file) return keyfile; } +static DBusConnection *connection; + static int input_init(void) { GKeyFile *config; @@ -78,6 +78,7 @@ static int input_init(void) static void input_exit(void) { input_manager_exit(); + dbus_connection_unref(connection); } |