We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb2e9cb commit a81ba2eCopy full SHA for a81ba2e
ext/uri/php_uri.c
@@ -550,15 +550,11 @@ PHP_METHOD(Uri_Rfc3986_Uri, withUserInfo)
550
uri_internal_t *new_internal_uri = uri_internal_from_obj(new_object);
551
URI_ASSERT_INITIALIZATION(new_internal_uri);
552
553
- zval errors;
554
- ZVAL_UNDEF(&errors);
555
if (UNEXPECTED(php_uri_parser_rfc3986_userinfo_write(new_internal_uri, &zv, NULL) == FAILURE)) {
556
- zval_ptr_dtor(&errors);
557
zend_object_release(new_object);
558
RETURN_THROWS();
559
}
560
561
- ZEND_ASSERT(Z_ISUNDEF(errors));
562
RETVAL_OBJ(new_object);
563
564
0 commit comments