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: Fri, 21 Dec 2012 13:27:10 +0000

- **status**: open --> open-confirmed
- **milestone**: -->

---
** [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:** Fri Dec 21, 2012 01:26 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/prefs/>
Received on 2012-12-21

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET