diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2018-09-08 22:23:33 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-10 08:31:11 +0200 |
commit | 6e054623b462494c26bbaf46da7ba4b5f40ff285 (patch) | |
tree | 09d65fb4edf1865efde0953a9aa7e9e04ade8fc8 /docs/libcurl/libcurl.m4 | |
parent | c3654df166ff9bded751809af4ce6a3b1d7b0f81 (diff) |
cookies: fix leak when writing cookies to file
If the formatting fails, we error out on a fatal error and
clean up on the way out. The array was however freed within
the wrong scope and was thus never freed in case the cookies
were written to a file instead of STDOUT.
Closes #2957
Diffstat (limited to 'docs/libcurl/libcurl.m4')
0 files changed, 0 insertions, 0 deletions