mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanup
This commit is contained in:
parent
3040d1da36
commit
eae2217c6d
1 changed files with 2 additions and 3 deletions
|
@ -158,7 +158,7 @@ static void task_image_cleanup(nbio_handle_t *nbio)
|
|||
image->handle = NULL;
|
||||
image->cb = NULL;
|
||||
}
|
||||
if (nbio->path && !string_is_empty(nbio->path))
|
||||
if (!string_is_empty(nbio->path))
|
||||
free(nbio->path);
|
||||
if (nbio->data)
|
||||
free(nbio->data);
|
||||
|
@ -372,8 +372,7 @@ error:
|
|||
free(t);
|
||||
if (nbio)
|
||||
{
|
||||
if (nbio->path
|
||||
&& !string_is_empty(nbio->path))
|
||||
if (!string_is_empty(nbio->path))
|
||||
free(nbio->path);
|
||||
free(nbio);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue