Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
memory leak when timeout expired during POST request #147
Using a simple example based on postit2.c :
Starting a netcat command
Investigating show that this was introduced by the commit 1342a96. There is no leak with curl-7_39_0, and there is a leak with curl-7_40_0.
A possible fix seems to add in lib/multi.c line 1019 (in order to free what allocate Curl_getformdata) :