Bugfix: free font string after using it
This commit is contained in:
parent
ee83df9684
commit
cbfcf5bd8b
|
@ -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);
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue