glfw EGLView set alloc on the stack to prevent memory leak