Fix a memory leak in function get_sha1 in retrolaunch/main.c.

This commit is contained in:
Lioncash 2013-10-13 23:22:41 -04:00
parent 83da083a24
commit 51d7ec925e

View File

@ -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;
}