Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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) :