Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Avoid free-ing a random FD in OwnedFd drop
In the insert_bad_source test, we drop the FD "420", which doesn't exist. Previously the error was ignored, but in the latest nightly it now aborts the program. This commit fixes this by leaking the bad "OwnedFd" instead of leaving it to be dropped. Signed-off-by: John Nunley <[email protected]>
- Loading branch information