mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Cleanup
This commit is contained in:
parent
7acda37b4e
commit
e7d41f6ea7
@ -492,7 +492,6 @@ static bool content_file_init_extract(
|
||||
msg_hash_to_str(
|
||||
MSG_FAILED_TO_EXTRACT_CONTENT_FROM_COMPRESSED_FILE),
|
||||
temp_content);
|
||||
free(new_path);
|
||||
free(temp_content);
|
||||
free(str);
|
||||
goto error;
|
||||
@ -504,10 +503,7 @@ static bool content_file_init_extract(
|
||||
|
||||
if (!string_list_append(content_ctx->temporary_content,
|
||||
new_path, *attr))
|
||||
{
|
||||
free(new_path);
|
||||
goto error;
|
||||
}
|
||||
|
||||
free(new_path);
|
||||
}
|
||||
@ -516,6 +512,7 @@ static bool content_file_init_extract(
|
||||
return true;
|
||||
|
||||
error:
|
||||
free(new_path);
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user