mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Free config before exiting sway.
Apart from freeing the sway_config struct, this also terminates the swaybars spawned by sway, since they are linked by PID to the bar config structs.
This commit is contained in:
parent
e15a8a0376
commit
67bbcceba1
3 changed files with 9 additions and 1 deletions
|
|
@ -228,6 +228,10 @@ int main(int argc, char **argv) {
|
|||
|
||||
ipc_terminate();
|
||||
|
||||
if (config) {
|
||||
free_config(config);
|
||||
}
|
||||
|
||||
return exit_value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue