Remove unnecessary ecma_deref_ecma_string in regExpStringIterator (#4625)

JerryScript-DCO-1.0-Signed-off-by: bence gabor kis [email protected]
This commit is contained in:
kisbg authored and GitHub committed 2021-03-11 09:14:45 +01:00
1 parent 546422161e
commit 8321640c4e
2 files changed
-2

No files matched your search

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