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;