commit 06986e58b84170f51c4ae303bedb8d8803ed5ba7 parent 01c2b5f2d658c8992d5351c1ef0e2e23a0729fcd Author: Daniel Lockyer <thisisdaniellockyer@gmail.com> Date: Fri, 29 Apr 2016 18:31:21 +0100 sway/config.c: Change to the useful free_cmd_results helper method Diffstat:
| M | sway/config.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sway/config.c b/sway/config.c @@ -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;