]> granicus.if.org Git - curl/commit
multi: avoid double-free
authorDaniel Stenberg <daniel@haxx.se>
Tue, 2 Oct 2018 07:58:04 +0000 (09:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 19 Oct 2018 13:29:31 +0000 (15:29 +0200)
commit05564e750e8f0c79016c680f301ce251e6e86155
treeb875de08e14b604feb07175c44b09165722a4c03
parent8a49f91d328f86e02f841aee3f0f8ae200b39131
multi: avoid double-free

Curl_follow() no longer frees the string. Make sure it happens in the
caller function, like we normally handle allocations.

This bug was introduced with the use of the URL API internally, it has
never been in a release version

Reported-by: Dario Weißer
Closes #3149
lib/multi.c
lib/transfer.c