summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2013-01-05 11:07:59 -0500
committerPierrick Charron <pierrick@php.net>2013-01-05 11:07:59 -0500
commitf85e5950ab4552799c119cd1d23617535ed19e61 (patch)
treedffa4a4f032026df02d3a1baac9f7afacac84938 /ext/curl/php_curl.h
parentc4f2a20f150c6e2b453cdd16f5ca1715ab150f7a (diff)
downloadphp-git-f85e5950ab4552799c119cd1d23617535ed19e61.tar.gz
Improve resource management for curl handle
Previous implementation was using its own refcounting (uses field of the php_curl struct). zend_list_add/remove already implements its own refcount, so we don't need to use an other one.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index 5c24fc1302..a8c26c0528 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -169,7 +169,6 @@ typedef struct {
CURL *cp;
php_curl_handlers *handlers;
long id;
- unsigned int uses;
zend_bool in_callback;
zval *clone;
} php_curl;