mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +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[1],
|
||||||
sha.Message_Digest[2],
|
sha.Message_Digest[2],
|
||||||
sha.Message_Digest[3], sha.Message_Digest[4]);
|
sha.Message_Digest[3], sha.Message_Digest[4]);
|
||||||
|
close(fd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user