mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
sway/config.c: Change to the useful free_cmd_results helper method
This commit is contained in:
parent
01c2b5f2d6
commit
06986e58b8
|
@ -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