diff options
author | Grigori Goronzy <greg@blackbox> | 2009-07-24 10:01:41 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2009-07-24 15:39:20 +0200 |
commit | 074399f7dcb4c94cc86d87250c05ba497fe26e45 (patch) | |
tree | 4e2108ad71c63bc5964c5eac100e8950707b18ae /test | |
parent | 417a5b32da0d3b345299190ba3198cfed6f98275 (diff) | |
download | libass-074399f7dcb4c94cc86d87250c05ba497fe26e45.tar.bz2 libass-074399f7dcb4c94cc86d87250c05ba497fe26e45.tar.xz |
Fix fontconfig memory leaks
Do not manually use FcConfigFilename; passing a NULL pointer to
FcConfigParseAndLoad is just as effective and also avoids a memory leak
since the string allocated by FcConfigFilename was never freed.
Free FcConfig instance in fontconfig_done; since we're not using the
default configuration anymore it doesn't make sense to keep the
configuration around.
Leaks were found by valgrind/memcheck.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions