summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-12-17 14:13:40 +0000
committerJani Taskinen <jani@php.net>2008-12-17 14:13:40 +0000
commit77a63540a5f7f54b1741152f316fd59caa4d4989 (patch)
treeacf0dfb899384cca8048644b54918085c641a255 /ext/curl/php_curl.h
parent3ce9e6d6d9ea52b1a74b640bb48a2164ef9ef027 (diff)
downloadphp-git-77a63540a5f7f54b1741152f316fd59caa4d4989.tar.gz
MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory)
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index 64d11fbab3..25ee080111 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -114,7 +114,9 @@ struct _php_curl_send_headers {
};
struct _php_curl_free {
+#if LIBCURL_VERSION_NUM < 0x071100
zend_llist str;
+#endif
zend_llist post;
zend_llist slist;
};