Commit a1bb570d authored by Bruce Momjian's avatar Bruce Momjian

Fix leak patch that was using fclose() instead of close().

parent f1758845
......@@ -75,7 +75,7 @@ copyAndUpdateFile(migratorContext *ctx, pageCnvCtx *pageConverter,
if ((dstfd = open(dst, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR)) < 0)
{
fclose(src_fd);
close(src_fd);
return "can't create destination file";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment