summaryrefslogtreecommitdiffstats
path: root/shave
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-07-24 10:01:41 +0200
committerGrigori Goronzy <greg@blackbox>2009-07-24 15:39:20 +0200
commit074399f7dcb4c94cc86d87250c05ba497fe26e45 (patch)
tree4e2108ad71c63bc5964c5eac100e8950707b18ae /shave
parent417a5b32da0d3b345299190ba3198cfed6f98275 (diff)
downloadlibass-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 'shave')
0 files changed, 0 insertions, 0 deletions