mirror of
https://github.com/libretro/RetroArch
synced 2024-12-29 12:31:05 +00:00
Fix a memory leak in function get_sha1 in retrolaunch/main.c.
This commit is contained in:
parent
83da083a24
commit
51d7ec925e
@ -134,6 +134,7 @@ static int get_sha1(const char *path, char *result)
|
||||
sha.Message_Digest[1],
|
||||
sha.Message_Digest[2],
|
||||
sha.Message_Digest[3], sha.Message_Digest[4]);
|
||||
close(fd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user