Fixing ecma_create_arguments_object: adding deref for allocated ecma-string

This commit is contained in:
Ruben Ayrapetyan 2014-08-22 18:47:46 +04:00
parent 077392e5c5
commit 80e6cd3a60

View File

@ -83,6 +83,7 @@ ecma_create_arguments_object (ecma_object_t *func_obj_p, /**< callee function */
prop_desc,
false);
JERRY_ASSERT (ecma_is_completion_value_normal_true (completion));
ecma_deref_ecma_string (length_magic_string_p);
ecma_dealloc_number (len_p);