Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()).

This commit is contained in:
Ilia Alshanetsky 2005-09-08 14:49:58 +00:00
parent 9d04a8e369
commit 1e13bca414

View File

@ -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));