forked from MythTV/mythtv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close the file descriptor assgined by open if it is not the same as the newfd. Fixes coverity 1028694 (It seems likely that coverity will not agree that it is fixed, since it will not recognize the belt and suspenders checking of the fd being the value dup'ed to).
- Loading branch information
1 parent
b551172
commit 959a807
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters