Skip to content

storage: filesystem, close packfile iterators after use#2027

Open
aymanbagabas wants to merge 1 commit intogo-git:mainfrom
aymanbagabas:file-leaks
Open

storage: filesystem, close packfile iterators after use#2027
aymanbagabas wants to merge 1 commit intogo-git:mainfrom
aymanbagabas:file-leaks

Conversation

@aymanbagabas
Copy link
Copy Markdown
Member

This fixes some leaks of file descriptors when iterating over packfiles. The packfile iterators are now closed after use, and the file descriptor is closed if an error occurs while creating the zlib reader.

Related: https://github.com/go-git/go-git/actions/runs/24908334127/job/72949435719?pr=1987

This fixes some leaks of file descriptors when iterating over packfiles.
The packfile iterators are now closed after use, and the file descriptor
is closed if an error occurs while creating the zlib reader.

Related: https://github.com/go-git/go-git/actions/runs/24908334127/job/72949435719?pr=1987
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