Remove unnecessary ecma_deref_ecma_string in regExpStringIterator (#4625)

JerryScript-DCO-1.0-Signed-off-by: bence gabor kis kisbg@inf.u-szeged.hu
This commit is contained in:
kisbg
2021-03-11 09:14:45 +01:00
committed by GitHub
parent 546422161e
commit 8321640c4e
2 changed files with 0 additions and 2 deletions
@@ -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;
}