Evas (wayland_egl): Destroy the wl_egl_window also when we free.

SVN revision: 67075
This commit is contained in:
Christopher Michael 2012-01-11 12:58:59 +00:00
parent e89e7d8ef5
commit 34ab2ff6cd
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ eng_window_free(Evas_GL_Wl_Window *gw)
win_count--;
eng_window_use(gw);
if (gw == _evas_gl_x11_window) _evas_gl_x11_window = NULL;
if (gw->win) wl_egl_window_destroy(gw->win);
if (gw->gl_context)
{
ref = gw->gl_context->references - 1;