(rarch_task_push_image) Call rarch_task_image_load_free

This commit is contained in:
twinaphex 2016-05-18 23:57:35 +02:00
parent e59cd92108
commit ae478b71b7

View file

@ -386,10 +386,9 @@ bool rarch_task_push_image_load(const char *fullpath,
return true;
error:
rarch_task_image_load_free(t);
if (t)
free(t);
if (image)
free(image);
if (nbio)
free(nbio);