mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-25 11:20:55 +00:00
Oops, fix another leak.
This commit is contained in:
parent
a32668cd1a
commit
6c0bc5502b
@ -48,6 +48,7 @@ uint8_t *ReadLocalFile(const char *filename, size_t *size) {
|
||||
size_t f_size = ftell(file);
|
||||
if ((long)f_size < 0) {
|
||||
*size = 0;
|
||||
fclose(file);
|
||||
return nullptr;
|
||||
}
|
||||
fseek(file, 0, SEEK_SET);
|
||||
|
Loading…
x
Reference in New Issue
Block a user