lite
lite copied to clipboard
renderer.c: potential leak
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" :^).