3f47e1b0aa
This patch slightly reworks the container objects internal objects allocation. This rework allows the same lifetime of the objects without the manual allocation/deallocation of the internal object. This patch also fixes #2951. Co-authored-by: Dániel Bátyai <dbatyai@inf.u-szeged.hu> JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu