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: Nach M. S. <n-a-c-h_at_users.sf.net>
Date: Thu, 30 May 2013 12:25:16 +0000

Actually, looks like I have an older file in front of me, will check newer. Sorry about that.

---
** [bugs:#1177] memory leak when Curl_follow() fails**
**Status:** open-confirmed
**Labels:** memory leak 
**Created:** Fri Dec 21, 2012 01:26 PM UTC by Daniel Stenberg
**Last Updated:** Thu May 30, 2013 12:20 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