We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c0125 commit b49edddCopy full SHA for b49eddd
src/checkout.c
@@ -1397,7 +1397,7 @@ static int checkout_stream_close(git_writestream *s)
1397
assert(stream && stream->open);
1398
1399
stream->open = 0;
1400
- return 0;
+ return p_close(stream->fd);
1401
}
1402
1403
static void checkout_stream_free(git_writestream *s)
@@ -1461,7 +1461,6 @@ static int blob_content_to_file(
1461
assert(writer.open == 0);
1462
1463
git_filter_list_free(fl);
1464
- p_close(fd);
1465
1466
if (error < 0)
1467
return error;
0 commit comments