File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3267,9 +3267,11 @@ static void _php_curl_close_ex(php_curl *ch TSRMLS_DC)
3267
3267
if (ch -> handlers -> write_header -> func_name ) {
3268
3268
zval_ptr_dtor (& ch -> handlers -> write_header -> func_name );
3269
3269
}
3270
+ #if CURLOPT_PASSWDFUNCTION != 0
3270
3271
if (ch -> handlers -> passwd ) {
3271
3272
zval_ptr_dtor (& ch -> handlers -> passwd );
3272
3273
}
3274
+ #endif
3273
3275
if (ch -> handlers -> std_err ) {
3274
3276
zval_ptr_dtor (& ch -> handlers -> std_err );
3275
3277
}
Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ typedef struct {
135
135
php_curl_write * write ;
136
136
php_curl_write * write_header ;
137
137
php_curl_read * read ;
138
+ #if CURLOPT_PASSWDFUNCTION != 0
138
139
zval * passwd ;
140
+ #endif
139
141
zval * std_err ;
140
142
php_curl_progress * progress ;
141
143
#if LIBCURL_VERSION_NUM >= 0x071500 /* Available since 7.21.0 */
You can’t perform that action at this time.
0 commit comments