libcurl leaked the last Location: URL.
Changelog
Daniel (29 January 2005)
+- multi interface: when a request is denied due to "Maximum redirects
+ followed" libcurl leaked the last Location: URL.
+
- Connect failures with the multi interface was often returned as "connect()
timed out" even though the reason was different.
easy->state = CURLM_STATE_CONNECT;
result = CURLM_CALL_MULTI_PERFORM;
}
+ else
+ /* Since we "took it", we are in charge of freeing this on
+ failure */
+ free(newurl);
}
else {
easy->state = CURLM_STATE_DONE;