Re: cvs: php4 /ext/curl curl.c

From: Date: Wed, 22 Nov 2000 15:32:13 +0000
Subject: Re: cvs: php4 /ext/curl curl.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2736@lists.php.net to get a copy of this message
At 05:30 PM 11/22/2000 +0200, Stanislav Malyshev wrote:
SH>>            urlstr = estrndup(Z_STRVAL_PP(url), Z_STRLEN_PP(url));
SH>>            curl_easy_setopt(curl_handle->cp, CURLOPT_URL, urlstr);
SH>> -          efree(urlstr);
SH>>    }
SH>>
SH>>    curl_easy_setopt(curl_handle->cp, CURLOPT_NOPROGRESS, 1);
Actually, it needs more thorough fix, since now it's leaking (cURL doesn't free these strings). I will post a patch in about 10 minutes.
Great! -Sterling

« previous php.cvs (#2736) next »