1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

Fix possible free of unallocated memory.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26741 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2008-05-11 19:49:57 +00:00
parent 08d224b68d
commit 38836c7837

View File

@ -75,7 +75,7 @@ static char* _select_font(fc_instance_t* priv, const char* family, unsigned bold
{
FcBool rc;
FcResult result;
FcPattern *pat = 0, *rpat;
FcPattern *pat = 0, *rpat = 0;
int r_index, r_slant, r_weight;
FcChar8 *r_family, *r_style, *r_file, *r_fullname;
FcBool r_outline, r_embolden;