diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-12-20 19:33:50 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-12-20 19:33:50 +0100 |
commit | f009bbe1f625b19236dc2ed57726b2f0f39a27c4 (patch) | |
tree | 53b31cfeac77d4069e2229d984e15e64ecd9129b /tests/certs/Server-localhost-sv.pub.der | |
parent | 4acc9d3d1a6774f4c00079bdba0fafc51afcbd6a (diff) |
curl_easy_reset: release mime-related data.
Move curl_mime_initpart() and curl_mime_cleanpart() calls to lower-level
functions dealing with UserDefined structure contents.
This avoids memory leakages on curl-generated part mime headers.
New test 2073 checks this using the cli tool --next option: it
triggers a valgrind error if bug is present.
Bug: https://curl.haxx.se/mail/lib-2017-12/0060.html
Reported-by: Martin Galvan
Diffstat (limited to 'tests/certs/Server-localhost-sv.pub.der')
0 files changed, 0 insertions, 0 deletions