summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2011-11-22 05:19:37 +0000
committerPierrick Charron <pierrick@php.net>2011-11-22 05:19:37 +0000
commit18e4f0292147c75ebc32462a2af30b30d535ffb4 (patch)
treef2cfa8613ffd9f402f08a132e6f52488af32baa6 /ext/curl/php_curl.h
parenta093491652e656425f7d34714e3ac8a50a94e233 (diff)
downloadphp-git-18e4f0292147c75ebc32462a2af30b30d535ffb4.tar.gz
Fix memory leak when using libcurl < 7.17.0
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index a50a2b8270..fe771970cb 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -131,7 +131,7 @@ struct _php_curl_free {
typedef struct {
struct _php_curl_error err;
- struct _php_curl_free to_free;
+ struct _php_curl_free *to_free;
struct _php_curl_send_headers header;
void ***thread_ctx;
CURL *cp;