mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
Replace calloc with malloc
This commit is contained in:
parent
0aca9386c4
commit
b34b29a22f
@ -427,7 +427,7 @@ bool task_audio_mixer_load_handler(retro_task_t *task)
|
||||
&& (mixer->copy_data_over)
|
||||
&& (!task_get_cancelled(task)))
|
||||
{
|
||||
nbio_buf_t *img = (nbio_buf_t*)calloc(1, sizeof(*img));
|
||||
nbio_buf_t *img = (nbio_buf_t*)malloc(sizeof(*img));
|
||||
|
||||
if (img)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user