mirror of
https://github.com/libretro/RetroArch
synced 2024-12-29 12:31:05 +00:00
Missed a spot for closing file handle fd in function get_sha1.
This commit is contained in:
parent
98bdd6896e
commit
cae9591c2f
@ -126,6 +126,7 @@ static int get_sha1(const char *path, char *result)
|
||||
}
|
||||
|
||||
if (!SHA1Result(&sha)) {
|
||||
close(fd);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user