mirror of
https://github.com/libretro/RetroArch.git
synced 2024-05-20 13:27:22 -04:00
Update vfs_implementation.c
This commit is contained in:
parent
fdd5e7cea0
commit
0bbfba8137
|
@ -924,7 +924,10 @@ int retro_vfs_stat_impl(const char *path, int32_t *size)
|
|||
path_buf[len - 1] = '\0';
|
||||
|
||||
if (stat(path_buf, &stat_buf) < 0)
|
||||
{
|
||||
free(path_buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
free(path_buf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue