mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00: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…
x
Reference in New Issue
Block a user