]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp: fix leaking internal buffer `newhost` on error
authorViktor Szakats <commit@vsz.me>
Fri, 31 Oct 2025 02:41:53 +0000 (03:41 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 31 Oct 2025 12:14:09 +0000 (13:14 +0100)
commit5bf9445315f0964a4848ef08ef0f2bf3ce4c3567
treec5c22abef9aeb99ae46d7e98f77dfcf5f06c9018
parentd2e8acfaa6effaa31dee91aea25ec1c54e6fa5c4
ftp: fix leaking internal buffer `newhost` on error

Pointed out by TIOBE scanner via Coverity 2025.3.0.

Closes #19290
lib/ftp.c