Skip to content

Commit

Permalink
Forgot to close dangling file descriptor in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele authored and andymatuschak committed Aug 24, 2010
1 parent e2a59fc commit b3ac18f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SUBinaryDeltaCommon.m
Expand Up @@ -80,6 +80,7 @@ static void _hashOfFile(unsigned char* hash, FTSENT *ent)
size_t fileSize = (size_t)ent->fts_statp->st_size;
if (fileSize == 0) {
_hashOfBuffer(hash, NULL, 0);
close(fileDescriptor);
return;
}

Expand Down

0 comments on commit b3ac18f

Please sign in to comment.