aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/opensslthreadlock.c
diff options
context:
space:
mode:
authorMartin Vejnár <martin.vejnar@avg.com>2016-08-01 10:18:55 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-08-01 10:43:10 +0200
commit608b11a91f4e994d26f99baf4dd0a7dff03578ab (patch)
tree90cb4728c80f29159ecda28fb5183b9ca543895e /docs/examples/opensslthreadlock.c
parentd6604524ad24daf4581efbe0020da058d2b3af84 (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/examples/opensslthreadlock.c')
0 files changed, 0 insertions, 0 deletions