Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Forgot to close dangling file descriptor in previous commit.

  • Loading branch information...
commit b3ac18f1731a4c89d54dee6923888f1998258348 1 parent e2a59fc
@aidansteele aidansteele authored andymatuschak committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  SUBinaryDeltaCommon.m
View
1  SUBinaryDeltaCommon.m
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.