Fix use-after-free
Some checks failed
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=OFF (push) Failing after 19s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=OFF (push) Failing after 23s
CMake / ubuntu-latest - shared=OFF, pthread=OFF, posix=ON (push) Failing after 20s
CMake / ubuntu-latest - shared=ON, pthread=OFF, posix=ON (push) Failing after 17s
CMake / ubuntu-latest - shared=OFF, pthread=ON, posix=ON (push) Failing after 14s
CMake / ubuntu-latest - shared=ON, pthread=ON, posix=ON (push) Failing after 10s

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-08-04 03:36:41 +03:00
parent 75c2f27f8b
commit da1725982c
2 changed files with 4 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
fn lib = {
keybindings = [
{ key = 'Main-Shift-Escape' action = lib.quit_wm }
{ key = 'Main-Shift-Q' action = lib.kill_application }
{ key = 'Main-Shift-C' action = lib.close_application }
{ key = 'Main-Shift-Escape' action = (lib.quit_wm) }
{ key = 'Main-Shift-Q' action = (lib.kill_application) }
{ key = 'Main-Shift-C' action = (lib.close_application) }
{ key = 'Main-Space' action = (lib.execute 'alacritty') }
]
}

View File

@@ -1984,6 +1984,7 @@ bool dcfg_Value_evaluate_in_env(
}
if (!ret) {
dcfg_destroy(*out_value);
*out_value = NULL;
}
return ret;
}