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

master
Daniel Lockyer 9 years ago
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…
Cancel
Save