Skip to content
Commit 608b11a9 authored by Martin Vejnár's avatar Martin Vejnár Committed by Daniel Stenberg
Browse files

win32: fix a potential memory leak in Curl_load_library

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

Closes #938
parent d6604524
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment