Evas (wayland_egl): Destroy the wl_egl_window also when we free.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 12:58:59 +0000 (12:58 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 12:58:59 +0000 (12:58 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@67075 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/wayland_egl/evas_wl_main.c

index cd7c07d..303397f 100644 (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;