lite icon indicating copy to clipboard operation
lite copied to clipboard

renderer.c: potential leak

Open luauser32167 opened this issue 2 years ago • 0 comments

In renderer.c:172, if fopen fails (the font file was not found), then the font variable allocated earlier is not freed.

I think this was the only problem found by clang-analyzer/scan-build. There are also a bunch of conversion warnings but those are probably harmless.

And thanks for the awesome "cached software renderer" :^).

luauser32167 avatar Dec 30 '21 13:12 luauser32167