(gfx/font_driver) Use malloc

This commit is contained in:
twinaphex 2020-06-28 00:50:48 +02:00
parent 6e015d32a8
commit 128757554e

View File

@ -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;