mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove useless zval_ptr_dtor() in user_filter_factory_create()
At this point, retval is false.
This commit is contained in:
@@ -301,9 +301,6 @@ static php_stream_filter *user_filter_factory_create(const char *filtername,
|
||||
|
||||
if (Z_TYPE(retval) != IS_UNDEF) {
|
||||
if (Z_TYPE(retval) == IS_FALSE) {
|
||||
/* User reported filter creation error "return false;" */
|
||||
zval_ptr_dtor(&retval);
|
||||
|
||||
/* Kill the filter (safely) */
|
||||
ZVAL_UNDEF(&filter->abstract);
|
||||
php_stream_filter_free(filter);
|
||||
|
||||
Reference in New Issue
Block a user