summaryrefslogtreecommitdiff
path: root/src/core/dbus.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-30 01:38:36 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-31 14:28:36 -0400
commit4dd1de72e8e7ece77e8831e77eea650de404af75 (patch)
tree11193d7a3798b1bf4f592304af1e8efe9d46f770 /src/core/dbus.c
parenta7edaadd78271e1c35ff9032f068cb08de645437 (diff)
Remove some dead code
Based on coverity report.
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r--src/core/dbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c
index 62cbf89f64..b92c7d0b99 100644
--- 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;
+
fail:
- if (connection)
- dbus_connection_close(connection);
dbus_error_free(&error);
return NULL;
}