Free font buffer
This commit is contained in:
parent
3c372a3024
commit
f7a429cfbc
@ -340,6 +340,8 @@ static int fontloader(void *ud, struct ResManRes *res) {
|
|||||||
}
|
}
|
||||||
k3FontLoad(fnt, fntbuf, fntfsz, fnttexldr);
|
k3FontLoad(fnt, fntbuf, fntfsz, fnttexldr);
|
||||||
|
|
||||||
|
free(fntbuf);
|
||||||
|
|
||||||
res->thing = fnt;
|
res->thing = fnt;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user