Try to see if this gets us past the crash

This commit is contained in:
twinaphex 2016-05-14 06:00:53 +02:00
parent d3f4be0bbc
commit cd0b925fa1

View File

@ -394,10 +394,13 @@ bool rarch_task_push_image_load(const char *fullpath,
error: error:
if (t) if (t)
free(t); free(t);
if (nbio->image)
free(nbio->image);
if (nbio) if (nbio)
{
if (nbio->image)
free(nbio->image);
free(nbio); free(nbio);
}
RARCH_ERR("[image load] Failed to open '%s': %s.\n", RARCH_ERR("[image load] Failed to open '%s': %s.\n",
fullpath, strerror(errno)); fullpath, strerror(errno));
return false; return false;