Free font buffer

This commit is contained in:
mid 2025-09-13 12:02:27 +03:00
parent 3c372a3024
commit f7a429cfbc

View File

@ -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;