mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +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:
|
||||
task_image_load_free_internal(nbio);
|
||||
if (nbio)
|
||||
{
|
||||
if (nbio->data)
|
||||
free(nbio->data);
|
||||
nbio->data = NULL;
|
||||
}
|
||||
if (nbio->data)
|
||||
free(nbio->data);
|
||||
nbio->data = NULL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user