mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()).
This commit is contained in:
parent
9d04a8e369
commit
1e13bca414
@ -111,8 +111,6 @@ PHP_FUNCTION(curl_multi_remove_handle)
|
||||
ZEND_FETCH_RESOURCE(mh, php_curlm *, &z_mh, -1, le_curl_multi_handle_name, le_curl_multi_handle);
|
||||
ZEND_FETCH_RESOURCE(ch, php_curl *, &z_ch, -1, le_curl_name, le_curl);
|
||||
|
||||
zval_ptr_dtor(&z_ch);
|
||||
|
||||
--ch->uses;
|
||||
|
||||
RETURN_LONG((long) curl_multi_remove_handle(mh->multi, ch->cp));
|
||||
|
Loading…
Reference in New Issue
Block a user