From: Michael Stapelberg Date: Sun, 31 Jul 2011 15:54:53 +0000 (+0200) Subject: Bugfix: free font string after using it X-Git-Tag: 4.0~14^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cbfcf5bd8b617921a1ad278739fb4d174b11601c;p=i3%2Fi3 Bugfix: free font string after using it --- diff --git a/src/cfgparse.y b/src/cfgparse.y index 6fa88279..ecfa6658 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -1062,6 +1062,7 @@ font: { config.font = load_font($2, true); printf("font %s\n", $2); + free($2); } ;