chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introspect and monitor dropin configuration
[elogind.git]
/
src
/
core
/
dbus.c
diff --git
a/src/core/dbus.c
b/src/core/dbus.c
index 236ebc99d99804c5f1d7028c6dd31bf49403236d..b92c7d0b99923cc739f7d224fcc3f03fca3bd435 100644
(file)
--- a/
src/core/dbus.c
+++ b/
src/core/dbus.c
@@
-978,9
+978,8
@@
static DBusConnection* manager_bus_connect_private(Manager *m, DBusBusType type)
}
return connection;
}
return connection;
+
fail:
fail:
- if (connection)
- dbus_connection_close(connection);
dbus_error_free(&error);
return NULL;
}
dbus_error_free(&error);
return NULL;
}
@@
-1054,7
+1053,7
@@
fail:
static int bus_init_private(Manager *m) {
DBusError error;
int r;
static int bus_init_private(Manager *m) {
DBusError error;
int r;
- const char *const external_only[] = {
+
static
const char *const external_only[] = {
"EXTERNAL",
NULL
};
"EXTERNAL",
NULL
};