mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
sway/config.c: Change to the useful free_cmd_results helper method
This commit is contained in:
parent
01c2b5f2d6
commit
06986e58b8
1 changed files with 1 additions and 2 deletions
|
@ -536,8 +536,7 @@ bool read_config(FILE *file, struct sway_config *config) {
|
|||
default:;
|
||||
}
|
||||
free(line);
|
||||
free(res->input);
|
||||
free(res);
|
||||
free_cmd_results(res);
|
||||
}
|
||||
|
||||
return success;
|
||||
|
|
Loading…
Reference in a new issue