mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Get rid of error_msg label
This commit is contained in:
parent
82d37d2036
commit
c53bb90b75
1 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@ bool task_push_audio_mixer_load(const char *fullpath, retro_task_callback_t cb,
|
||||||
retro_task_t *t = (retro_task_t*)calloc(1, sizeof(*t));
|
retro_task_t *t = (retro_task_t*)calloc(1, sizeof(*t));
|
||||||
|
|
||||||
if (!t)
|
if (!t)
|
||||||
goto error_msg;
|
goto error;
|
||||||
|
|
||||||
nbio = (nbio_handle_t*)calloc(1, sizeof(*nbio));
|
nbio = (nbio_handle_t*)calloc(1, sizeof(*nbio));
|
||||||
|
|
||||||
|
@ -214,9 +214,9 @@ error:
|
||||||
nbio_free(nbio->handle);
|
nbio_free(nbio->handle);
|
||||||
free(nbio);
|
free(nbio);
|
||||||
}
|
}
|
||||||
free(t);
|
if (t)
|
||||||
|
free(t);
|
||||||
|
|
||||||
error_msg:
|
|
||||||
RARCH_ERR("[audio mixer load] Failed to open '%s': %s.\n",
|
RARCH_ERR("[audio mixer load] Failed to open '%s': %s.\n",
|
||||||
fullpath, strerror(errno));
|
fullpath, strerror(errno));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue