]> git.ipfire.org Git - thirdparty/curl.git/commit
sws: fix memory leak on exit
authorJay Satiro <raysatiro@yahoo.com>
Wed, 13 Oct 2021 04:33:23 +0000 (00:33 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Thu, 14 Oct 2021 07:24:18 +0000 (03:24 -0400)
commitafd489885e0f497a6d4984638aace5904f71fa74
treec913e93654718cc400db0cc9a1227b6a8bcadfb3
parenta3030b7db6b1cf491287c0ccfac67605646883e2
sws: fix memory leak on exit

- Free the allocated http request struct on cleanup.

Prior to this change if sws was built with leak sanitizer it would
report a memory leak error during testing.

Closes https://github.com/curl/curl/pull/7849
tests/server/sws.c