Skip to content

win32: fix a potential memory leak in Curl_load_library#938

Closed
avakar wants to merge 1 commit into
curl:masterfrom
avakar:load_library-leak
Closed

win32: fix a potential memory leak in Curl_load_library#938
avakar wants to merge 1 commit into
curl:masterfrom
avakar:load_library-leak

Conversation

@avakar
Copy link
Copy Markdown

@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
Copy Markdown

@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
Copy Markdown
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.

3 participants