diff options
author | Pierrick Charron <pierrick@php.net> | 2013-01-05 11:07:59 -0500 |
---|---|---|
committer | Pierrick Charron <pierrick@php.net> | 2013-01-05 11:07:59 -0500 |
commit | f85e5950ab4552799c119cd1d23617535ed19e61 (patch) | |
tree | dffa4a4f032026df02d3a1baac9f7afacac84938 /ext/curl/php_curl.h | |
parent | c4f2a20f150c6e2b453cdd16f5ca1715ab150f7a (diff) | |
download | php-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.h | 1 |
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; |