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

hash: ensure to close the file in any case #213

Merged
merged 1 commit into from
Dec 24, 2020
Merged

Conversation

drakkan
Copy link
Collaborator

@drakkan drakkan commented Dec 24, 2020

the file was not closed if seek failed.

Also return the correct command name if active mode is disabled

the file was not closed if seek failed.

Also return the correct command name if active mode is disabled
@codecov
Copy link

codecov bot commented Dec 24, 2020

Codecov Report

Merging #213 (da53c04) into master (87b8b93) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #213   +/-   ##
=======================================
  Coverage   79.29%   79.29%           
=======================================
  Files           9        9           
  Lines        1222     1222           
=======================================
  Hits          969      969           
  Misses        169      169           
  Partials       84       84           
Impacted Files Coverage Δ
handle_files.go 78.91% <100.00%> (ø)
transfer_active.go 84.50% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87b8b93...da53c04. Read the comment docs.

@drakkan
Copy link
Collaborator Author

drakkan commented Dec 24, 2020

This is a trivial fix, I'll merge myself, thank you and merry Christmas

@drakkan drakkan merged commit 6345897 into fclairamb:master Dec 24, 2020
@drakkan drakkan deleted the leak branch February 3, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant