Fixed memory leak by calling gl_windowinfo_destroy in platform destruction.