mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 04:22:59 -04:00
diff3: plug fd leak
MFC After: 1 week Reported by: kib (cherry picked from commit 33424fd50ee0333bc6f70b5b14a270b85e5b5de1)
This commit is contained in:
parent
8cc85a8751
commit
2abaf8acd5
1 changed files with 1 additions and 0 deletions
|
|
@ -947,6 +947,7 @@ wait_and_check(int pd)
|
|||
if (errno != EINTR)
|
||||
err(2, "pdwait");
|
||||
}
|
||||
close(pd);
|
||||
|
||||
if (WIFEXITED(status) && WEXITSTATUS(status) >= 2)
|
||||
errx(2, "diff exited abnormally");
|
||||
|
|
|
|||
Loading…
Reference in a new issue