From e077ebdc722204bf88072dad376fa1dbe9993c95 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 29 Apr 2016 18:08:28 +0100 Subject: [PATCH] sway/config.c: res->input is a malloc'ed section which wasn't freed --- sway/config.c | 1 + 1 file changed, 1 insertion(+) 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); }