Skip to content

Commit a6fac21

Browse files
authored
Merge pull request #5693 from victormlg/CFE-4489-fix-double-closing
Fix file closed twice in CopyRegularFileDiskPerms
2 parents 25cb0e6 + 2d0e4b3 commit a6fac21

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libpromises/files_copy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ bool CopyRegularFileDiskPerms(const char *source, const char *destination,
9999
}
100100

101101
close(sd);
102-
close(dd);
103102
return ret;
104103
}
105104

0 commit comments

Comments
 (0)