mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
Fix a memory leak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28787 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ebe16af2c7
commit
20a2db7dfd
@ -214,6 +214,7 @@ static bitmap_t* glyph_to_bitmap_internal(FT_Glyph glyph, int bord)
|
||||
dst += bm->w;
|
||||
}
|
||||
|
||||
FT_Done_Glyph(glyph);
|
||||
return bm;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user