Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@WKBae
Copy link
Contributor

@WKBae WKBae commented May 23, 2020

Close() method of EncodedObject.Reader() and EncodedObject.Writer() weren't called in some code paths, causing fd leak.
This commit closes all readers and writers used within this repo, along with ioutil.CheckClose().

@mcuadros mcuadros requested a review from jfontan May 24, 2020 03:44
@mcuadros mcuadros requested a review from erizocosmico May 24, 2020 04:04
@mcuadros mcuadros merged commit 8019144 into go-git:master May 24, 2020
@mcuadros mcuadros changed the title Close Reader & Writer of EncodedObject after use plumbing/storage: close Reader & Writer of EncodedObject after use May 24, 2020
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.

4 participants