diff options
author | Martin Vejnár <martin.vejnar@avg.com> | 2016-08-01 10:18:55 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-08-01 10:43:10 +0200 |
commit | 608b11a91f4e994d26f99baf4dd0a7dff03578ab (patch) | |
tree | 90cb4728c80f29159ecda28fb5183b9ca543895e /docs/libcurl/opts/CURLOPT_USERAGENT.3 | |
parent | d6604524ad24daf4581efbe0020da058d2b3af84 (diff) |
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
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_USERAGENT.3')
0 files changed, 0 insertions, 0 deletions