Fix freeing this_arg in ecma_builtin_promise_race_or_all (#3482)
Fixes #3478 JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
This commit is contained in:
committed by
Robert Fancsik
parent
518fcf2c6a
commit
e21e4a18ba
@@ -515,7 +515,6 @@ ecma_builtin_promise_race_or_all (ecma_value_t this_arg, /**< 'this' argument */
|
||||
|
||||
if (!ecma_is_value_null (species_symbol) && !ecma_is_value_undefined (species_symbol))
|
||||
{
|
||||
ecma_free_value (constructor_value);
|
||||
constructor_value = species_symbol;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user