sway/config.c: res->input is a malloc'ed section which wasn't freed

This commit is contained in:
Daniel Lockyer 2016-04-29 18:08:28 +01:00
parent cdf017ceea
commit e077ebdc72

View file

@ -534,6 +534,7 @@ bool read_config(FILE *file, struct sway_config *config) {
default:;
}
free(line);
free(res->input);
free(res);
}