Bugfix: free font string after using it

This commit is contained in:
Michael Stapelberg 2011-07-31 17:54:53 +02:00
parent ee83df9684
commit cbfcf5bd8b
1 changed files with 1 additions and 0 deletions

View File

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