Skip to content

ftp: fix memory leak in ftp_done - #6737

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/ftp-leak-done
Closed

ftp: fix memory leak in ftp_done#6737
bagder wants to merge 1 commit into
masterfrom
bagder/ftp-leak-done

Conversation

@bagder

@bagder bagder commented Mar 12, 2021

Copy link
Copy Markdown
Member

If after a transfer is complete Curl_GetFTPResponse() returns an error,
curl would not free the ftp->pathalloc block.

Found by torture-testing test 576

If after a transfer is complete Curl_GetFTPResponse() returns an error,
curl would not free the ftp->pathalloc block.

Found by torture-testing test 576
@bagder bagder closed this in 8ed71fc Mar 12, 2021
@bagder
bagder deleted the bagder/ftp-leak-done branch March 12, 2021 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant