summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2000-11-22 15:46:13 +0000
committerStanislav Malyshev <stas@php.net>2000-11-22 15:46:13 +0000
commitb36afe2957d77c9eb682097302c7f133620e7f4d (patch)
tree522653d9af7376a3e81c767ca47f9f5c1ea4415e /ext/curl/php_curl.h
parente7aff0b676b3ad9d19059c04a7147088175af070 (diff)
downloadphp-git-b36afe2957d77c9eb682097302c7f133620e7f4d.tar.gz
Fix memory leaks in cURL.
cURL doesn't free strings we pass to him, so let PHP do it.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h1
1 files changed, 1 insertions, 0 deletions
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 {