m_texCoords was not initialized in the GLEScontext constructor, so when destructing it resulted in an illegal free.