Add missing ecma_deref_ecma_string in ecma_builtin_typedarray_prototype_join (#2701)
This patch fixes #2698. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
9ced3addaa
commit
ee267e8aa9
@@ -1027,6 +1027,7 @@ ecma_builtin_typedarray_prototype_join (ecma_value_t this_arg, /**< this argumen
|
||||
ecma_value_t next_string_value = ecma_op_typedarray_get_to_string_at_index (obj_p, k);
|
||||
if (ECMA_IS_VALUE_ERROR (next_string_value))
|
||||
{
|
||||
ecma_deref_ecma_string (return_string_p);
|
||||
ecma_free_value (first_value);
|
||||
ecma_free_value (separator_value);
|
||||
ecma_free_value (length_value);
|
||||
|
||||
Reference in New Issue
Block a user