sway/config.c: Change to the useful free_cmd_results helper method

This commit is contained in:
Daniel Lockyer 2016-04-29 18:31:21 +01:00
parent 01c2b5f2d6
commit 06986e58b8

View File

@ -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;