]> granicus.if.org Git - php/commitdiff
Hmmm, that wasn't good.
authorSterling Hughes <sterling@php.net>
Wed, 22 Nov 2000 15:19:59 +0000 (15:19 +0000)
committerSterling Hughes <sterling@php.net>
Wed, 22 Nov 2000 15:19:59 +0000 (15:19 +0000)
ext/curl/curl.c

index 2b16b885ac1899f6a557648c9b55f679bcf82ff8..292f2e9dd2fab5538b5bdc192d5ffd22d8518ef3 100644 (file)
@@ -308,7 +308,6 @@ PHP_FUNCTION(curl_init)
 
                urlstr = estrndup(Z_STRVAL_PP(url), Z_STRLEN_PP(url));
                curl_easy_setopt(curl_handle->cp, CURLOPT_URL, urlstr);
-               efree(urlstr);
        }
 
        curl_easy_setopt(curl_handle->cp, CURLOPT_NOPROGRESS, 1);