From f03b949134ee2179963fbf88ddca312134642b4f Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 23 Nov 2000 16:31:58 +0000 Subject: [PATCH] Revert bad commit. # And now I'm ready to sleep.. --- ext/curl/curl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/curl/curl.c b/ext/curl/curl.c index e8b23a30cf..d2a30af418 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -268,8 +268,8 @@ PHP_MSHUTDOWN_FUNCTION(curl) return SUCCESS; } -static void curl_free_string(void *string) { - free(string); +static void curl_free_string(void **string) { + efree(*string); } /* {{{ proto string curl_version(void) -- 2.40.0