mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(task_image.c) Fix REVERSE_INULL coverity warning
This commit is contained in:
parent
9540e91e4c
commit
2ed15fbfbc
@ -254,12 +254,9 @@ static int cb_nbio_generic(nbio_handle_t *nbio, size_t *len)
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
task_image_load_free_internal(nbio);
|
task_image_load_free_internal(nbio);
|
||||||
if (nbio)
|
if (nbio->data)
|
||||||
{
|
free(nbio->data);
|
||||||
if (nbio->data)
|
nbio->data = NULL;
|
||||||
free(nbio->data);
|
|
||||||
nbio->data = NULL;
|
|
||||||
}
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user