From b36afe2957d77c9eb682097302c7f133620e7f4d Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Wed, 22 Nov 2000 15:46:13 +0000 Subject: Fix memory leaks in cURL. cURL doesn't free strings we pass to him, so let PHP do it. --- ext/curl/php_curl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/curl/php_curl.h') diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index dd8aabe549..4d0219b434 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -56,6 +56,7 @@ typedef struct { int cerrno; char error[CURL_ERROR_SIZE+1]; CURL *cp; + zend_llist to_free; } php_curl; typedef struct { -- cgit v1.2.1