Fix assertion 'mem_pools == NULL' in the Date constructor.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
This commit is contained in:
Roland Takacs committed 2015-07-30 13:35:06 +02:00
1 parent fe475eace7
commit 144c3ba874
2 files changed
+23

No files matched your search

@@ -172,6 +172,10 @@ ecma_date_construct_helper (const ecma_value_t *args, /**< arguments passed to t
{
ret_value = ecma_make_normal_completion_value (ecma_make_number_value (prim_value_p));
}
else
{
ecma_dealloc_number (prim_value_p);
}
return ret_value;
} /* ecma_date_construct_helper */