Missed a spot for closing file handle fd in function get_sha1.

This commit is contained in:
Lioncash 2013-10-14 00:05:07 -04:00
parent 98bdd6896e
commit cae9591c2f

View File

@ -126,6 +126,7 @@ static int get_sha1(const char *path, char *result)
}
if (!SHA1Result(&sha)) {
close(fd);
return -1;
}