Fixed memory leak in ExecValueTrait::set and other places