]> granicus.if.org Git - php/commitdiff
Fixed some compile warnings.
authorfoobar <sniper@php.net>
Thu, 23 Nov 2000 15:57:24 +0000 (15:57 +0000)
committerfoobar <sniper@php.net>
Thu, 23 Nov 2000 15:57:24 +0000 (15:57 +0000)
ext/curl/curl.c

index 8945272b127c4d63df1680c9f331cc7d70c5d124..e8b23a30cf6b50e0a28b47a54b9e41a907fef765 100644 (file)
@@ -45,6 +45,7 @@
 
 /* PHP Includes */
 #include "ext/standard/info.h"
+#include "ext/standard/file.h"
 #include "php_curl.h"
 
 #ifdef ZTS
@@ -267,8 +268,8 @@ PHP_MSHUTDOWN_FUNCTION(curl)
        return SUCCESS;
 }
 
-static void curl_free_string(void **string) {
-       efree(*string);
+static void curl_free_string(void *string) {
+       free(string);
 }
 
 /* {{{ proto string curl_version(void)