diff options
Diffstat (limited to 'gdbus/mainloop.c')
-rwxr-xr-x[-rw-r--r--] | gdbus/mainloop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdbus/mainloop.c b/gdbus/mainloop.c index 3e88eac8..b90a8447 100644..100755 --- a/gdbus/mainloop.c +++ b/gdbus/mainloop.c @@ -322,6 +322,7 @@ DBusConnection *g_dbus_setup_private(DBusBusType type, const char *name, return NULL; if (setup_bus(conn, name, error) == FALSE) { + dbus_connection_close(conn); dbus_connection_unref(conn); return NULL; } |