Fixing ecma_create_arguments_object: adding deref for allocated ecma-string
This commit is contained in:
@@ -83,6 +83,7 @@ ecma_create_arguments_object (ecma_object_t *func_obj_p, /**< callee function */
|
|||||||
prop_desc,
|
prop_desc,
|
||||||
false);
|
false);
|
||||||
JERRY_ASSERT (ecma_is_completion_value_normal_true (completion));
|
JERRY_ASSERT (ecma_is_completion_value_normal_true (completion));
|
||||||
|
ecma_deref_ecma_string (length_magic_string_p);
|
||||||
|
|
||||||
ecma_dealloc_number (len_p);
|
ecma_dealloc_number (len_p);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user