mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
(gfx/font_driver) Use malloc
This commit is contained in:
parent
6e015d32a8
commit
128757554e
@ -1200,7 +1200,7 @@ font_data_t *font_driver_init_first(
|
||||
|
||||
if (ok)
|
||||
{
|
||||
font_data_t *font = (font_data_t*)calloc(1, sizeof(*font));
|
||||
font_data_t *font = (font_data_t*)malloc(sizeof(*font));
|
||||
font->renderer = (const font_renderer_t*)font_driver;
|
||||
font->renderer_data = font_handle;
|
||||
font->size = font_size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user