diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-string-iterator-prototype.c b/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-string-iterator-prototype.c index 2853d07c7..e9e9a5811 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-string-iterator-prototype.c +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-regexp-string-iterator-prototype.c @@ -121,7 +121,6 @@ ecma_builtin_regexp_string_iterator_prototype_object_next (ecma_value_t this_val if (JERRY_UNLIKELY (matched_str_p == NULL)) { - ecma_deref_ecma_string (matched_str_p); goto free_variables; } diff --git a/tests/test262-esnext-excludelist.xml b/tests/test262-esnext-excludelist.xml index 48fce160c..cfb64908b 100644 --- a/tests/test262-esnext-excludelist.xml +++ b/tests/test262-esnext-excludelist.xml @@ -92,7 +92,6 @@ -