diff --git a/sway/config.c b/sway/config.c index f60decb5..cfd3fd93 100644 --- a/sway/config.c +++ b/sway/config.c @@ -534,6 +534,7 @@ bool read_config(FILE *file, struct sway_config *config) { default:; } free(line); + free(res->input); free(res); }