Fix assertion 'mem_pools == NULL' failed in Function.constructor

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
Roland Takacs
2015-08-06 14:22:09 +02:00
committed by Kristof Kosztyo
parent b7d3189ac3
commit f10a48df96
2 changed files with 18 additions and 0 deletions
@@ -131,6 +131,10 @@ ecma_builtin_function_helper_get_arguments (const ecma_value_t *arguments_list_p
{
ret_value = ecma_make_normal_completion_value (ecma_make_string_value (arguments_str_p));
}
else
{
ecma_deref_ecma_string (arguments_str_p);
}
return ret_value;
} /* ecma_builtin_function_helper_get_arguments */