mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +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:;
|
default:;
|
||||||
}
|
}
|
||||||
free(line);
|
free(line);
|
||||||
free(res->input);
|
free_cmd_results(res);
|
||||||
free(res);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
|
|
Loading…
Reference in a new issue