summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-03 19:26:43 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-03 19:26:43 +0000
commite3e99c086ce5908d2edc10658707f8cd2d956f3a (patch)
tree11fb94032e1b5972de0238a547a43f5196f61932 /libass/ass_render.c
parent0b8bd90b9ef5b0038b85813b0c75549eb9c5d2a9 (diff)
downloadmpv-e3e99c086ce5908d2edc10658707f8cd2d956f3a.tar.bz2
mpv-e3e99c086ce5908d2edc10658707f8cd2d956f3a.tar.xz
In ass_font_new, allocate temporary ass_font_t on stack and return the pointer
to cache-owned copy. This fixes leaked ass_font_t struct. Without this, font pointers obtained from ass_font_new() and ass_font_cache_find() were different, and bitmaps rendered with the first one could not be located in the cache later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23230 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_render.c')
0 files changed, 0 insertions, 0 deletions