cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1177 memory leak when Curl_follow() fails

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Thu, 30 May 2013 21:30:35 +0000

Thanks Nach, with this analyze and some further discussions in IRC and the fact that I cannot trigger any leak with runtests.pl's torture tests, we hereby consider this bug fixed and closde.

---
** [bugs:#1177] memory leak when Curl_follow() fails**
**Status:** closed-fixed
**Labels:** memory leak 
**Created:** Fri Dec 21, 2012 01:26 PM UTC by Daniel Stenberg
**Last Updated:** Thu May 30, 2013 12:34 PM UTC
**Owner:** Daniel Stenberg
On github, seanbcos correctly pointed out that Curl_follow() only "takes ownership" of the passed in newurl pointer if it succeeds. If it returns error, it is still left to the caller to free the memory and after a recent commit that isn't always done. We better fix...
https://github.com/bagder/curl/commit/18fdd46a4b7bda95e5100248015582d63c0031aa#commitcomment-2259930
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1177/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Received on 2013-05-30

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET