Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix file descriptor leak #1643

Merged
merged 1 commit into from
Feb 26, 2023
Merged

Fix file descriptor leak #1643

merged 1 commit into from
Feb 26, 2023

Conversation

hairyhenderson
Copy link
Owner

I'd been ignoring the locally-failing TestInputDir_RespectsUlimit test because it passed on Linux. But after some deeper inspection it looks like it's an actual failure, and maybe the ulimit setting is not actually working on Linux during the test.

The leak is fairly obvious - it's a defer called in a loop that should be called in a separate function.

@hairyhenderson hairyhenderson self-assigned this Feb 25, 2023
@hairyhenderson hairyhenderson force-pushed the fix-open-file-leak branch 2 times, most recently from 7d36477 to 52bcbf8 Compare February 26, 2023 00:06
Signed-off-by: Dave Henderson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant