mirror of
https://github.com/libretro/RetroArch
synced 2025-01-06 01:02:15 +00:00
(Freetype) Prevent potential free issue on WiiU - play it safe for
now until further clarified what is going on
This commit is contained in:
parent
b56b447f08
commit
f990fa86fa
@ -284,7 +284,11 @@ static void *font_renderer_ft_init(const char *font_path, float font_size)
|
||||
if ((err = FT_New_Memory_Face(handle->lib, (const FT_Byte*)font_data,
|
||||
(FT_Long)font_data_size, (FT_Long)0, &handle->face)))
|
||||
goto error;
|
||||
/* TODO/FIXME - not sure if this needs to be freed, going to assume
|
||||
* no and that this is some memory block from the OS */
|
||||
#if 0
|
||||
handle->file_data = font_data;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
#elif defined(HAVE_FONTCONFIG_SUPPORT)
|
||||
|
Loading…
Reference in New Issue
Block a user