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

From: Date: Wed, 22 Nov 2000 15:30:22 +0000
Subject: Re: cvs: php4 /ext/curl curl.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2734@lists.php.net to get a copy of this message
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. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106

« previous php.cvs (#2734) next »