From b3e3ecf722abc6540a5a975a4e643c7d207d356f Mon Sep 17 00:00:00 2001 From: beauby Date: Fri, 10 Feb 2012 01:12:43 +0100 Subject: [PATCH] Fixed a memory leak --- 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 1a66b9f0..9c2bbe55 100644 --- a/i3-config-wizard/main.c +++ b/i3-config-wizard/main.c @@ -293,6 +293,7 @@ static void finish() { FILE *ks_config = fopen(config_path, "w"); if (ks_config == NULL) err(1, "Could not open output config file \"%s\"", config_path); + free(config_path); char *line = NULL; size_t len = 0;