ecere/gfx/3D/Object3DSFormat: Fixed potential memory errors