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

win32: fix a potential memory leak in Curl_load_library #938

Closed
wants to merge 1 commit into from

Conversation

avakar
Copy link

@avakar avakar commented Aug 1, 2016

If a call to GetSystemDirectory fails, the path pointer that was
previously allocated would be leaked. This makes sure that path is
always freed.

If a call to GetSystemDirectory fails, the `path` pointer that was
previously allocated would be leaked. This makes sure that `path` is
always freed.
@mention-bot
Copy link

@avakar, thanks for your PR! By analyzing the annotation information on this pull request, we identified @captain-caveman2k and @jay to be potential reviewers

@bagder bagder closed this in 608b11a Aug 1, 2016
@bagder
Copy link
Member

bagder commented Aug 1, 2016

Lovely, thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants