Commit 117aa11b authored by Surbhi Palande's avatar Surbhi Palande
Browse files

Disconnect from the dbus server only if it was successfully connected

previously
parent 77344166
......@@ -1700,8 +1700,10 @@ try_mounts (void)
}
if (all) {
dbus_server_disconnect (control_server);
dbus_server_unref (control_server);
if (control_server) {
dbus_server_disconnect (control_server);
dbus_server_unref (control_server);
}
nih_main_loop_exit (EXIT_OK);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment