PHP cURL, memory leak when using CURLOPT_RETURNTRANSFER PHP cURL, memory leak when using CURLOPT_RETURNTRANSFER curl curl

PHP cURL, memory leak when using CURLOPT_RETURNTRANSFER


Version 5.1.6 of PHP seems to have an issue with memory leaking when using "CURLOPT_RETURNTRANSFER, true" to store the results of the cURL as a string.Upgrading to 5.3 sorted the leak out for me.

Thanks