Code

write_http: in cleanup handler free http headers
authorTolga Ceylan <tolga.ceylan@gmail.com>
Sun, 20 Mar 2016 02:03:31 +0000 (19:03 -0700)
committerTolga Ceylan <tolga.ceylan@gmail.com>
Sun, 20 Mar 2016 02:03:31 +0000 (19:03 -0700)
commitdaa5c7a886b4406d5b8bfdbecd6f998f9ca07fea
tree6416c3f128311901c7a529804e37cb3a4e854b3e
parentaf6222065f1f5d8969afdde89c9f26a73e1e1690
write_http: in cleanup handler free http headers

slist of http headers require cleanup to avoid
memory leak. See libcurl example:

https://curl.haxx.se/libcurl/c/httpcustomheader.html
src/write_http.c