Add various missing close() calls

This commit is contained in:
Ian Barwick
2019-03-28 11:32:25 +09:00
parent d43975eb5f
commit 1e1c596446
4 changed files with 8 additions and 0 deletions

View File

@@ -301,6 +301,8 @@ get_controlfile(const char *DataDir)
ControlFilePath);
log_detail("%s", strerror(errno));
close(fd);
return control_file_info;
}