From a8b90317a0a20fb061ce97d73a7df4268cdd49d6 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Sat, 25 Aug 2018 14:49:28 +0300 Subject: [PATCH] i3-config-wizard: fix small memleak --- i3-config-wizard/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/i3-config-wizard/main.c b/i3-config-wizard/main.c index 4a843fae..0e0a3e65 100644 --- a/i3-config-wizard/main.c +++ b/i3-config-wizard/main.c @@ -293,6 +293,7 @@ static char *next_state(const cmdp_token *token) { } sasprintf(&res, "bindsym %s%s%s %s%s\n", (modifiers == NULL ? "" : modrep), (modifiers == NULL ? "" : "+"), str, (release == NULL ? "" : release), get_string("command")); clear_stack(); + free(modrep); return res; } -- 2.39.5