]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: free font string after using it
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 15:54:53 +0000 (17:54 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 15:54:53 +0000 (17:54 +0200)
src/cfgparse.y

index 6fa882799aa615a055aa4b40776c0968dd01fb87..ecfa665859c51520d8bbe557633192e561a03266 100644 (file)
@@ -1062,6 +1062,7 @@ font:
     {
         config.font = load_font($2, true);
         printf("font %s\n", $2);
+        free($2);
     }
     ;