]> git.sur5r.net Git - i3/i3/commitdiff
Fixed a memory leak
authorbeauby <lucas.hosseini@gmail.com>
Fri, 10 Feb 2012 00:12:43 +0000 (01:12 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 12 Feb 2012 10:19:34 +0000 (10:19 +0000)
i3-config-wizard/main.c

index 1a66b9f068b0a1bbfa45aa9e175608f515bbf2d5..9c2bbe550f9b9e8bab9244aef1c265fe8dc041d7 100644 (file)
@@ -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;