aboutsummaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-09-08 22:23:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-10 08:31:11 +0200
commit6e054623b462494c26bbaf46da7ba4b5f40ff285 (patch)
tree09d65fb4edf1865efde0953a9aa7e9e04ade8fc8 /lib/setopt.c
parentc3654df166ff9bded751809af4ce6a3b1d7b0f81 (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 'lib/setopt.c')
0 files changed, 0 insertions, 0 deletions