Add missing release value call to Array.prototype.pop fast path. (#3535)
This patch fixes #3534. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -428,6 +428,7 @@ ecma_builtin_array_prototype_object_pop (ecma_object_t *obj_p, /**< array object
|
||||
{
|
||||
if (!ecma_get_object_extensible (obj_p))
|
||||
{
|
||||
ecma_free_value (get_value);
|
||||
return ecma_raise_type_error (ECMA_ERR_MSG ("Invalid argument type."));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user