mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-17 02:59:13 +02:00
fix: PR feedback
This commit is contained in:
parent
b55ea32a7f
commit
8bb702e10b
2 changed files with 3 additions and 3 deletions
|
|
@ -993,6 +993,8 @@ pub fn main() !void {
|
|||
};
|
||||
std.posix.sigaction(std.posix.SIG.CHLD, &tty_control_transfer_act, null);
|
||||
|
||||
try log_file.reinit();
|
||||
|
||||
auth.authenticate(allocator, &log_file, auth_options, current_environment, login.getCurrentUsername(), password_text) catch |err| {
|
||||
shared_err.writeError(err);
|
||||
|
||||
|
|
|
|||
|
|
@ -28,9 +28,7 @@ pub fn deinit(self: *Session) void {
|
|||
for (self.label.list.items) |*env| {
|
||||
if (env.environment.entry_ini) |*entry_ini| entry_ini.deinit();
|
||||
if (env.environment.xdg_session_desktop_owned) {
|
||||
if (env.environment.xdg_session_desktop) |desktop| {
|
||||
self.label.allocator.free(desktop);
|
||||
}
|
||||
self.label.allocator.free(env.environment.xdg_session_desktop.?);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue