mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
task_database: fix memory leak in error path
This commit is contained in:
parent
770640be58
commit
edf90d250f
@ -415,8 +415,7 @@ int find_first_data_track(const char *cue_path,
|
||||
fd = intfstream_init(&info);
|
||||
if (!fd)
|
||||
{
|
||||
free(tmp_token);
|
||||
return -errno;
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (!intfstream_open(fd, cue_path, RFILE_MODE_READ, -1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user