From: devilhorns Date: Wed, 11 Jan 2012 12:58:59 +0000 (+0000) Subject: Evas (wayland_egl): Destroy the wl_egl_window also when we free. X-Git-Tag: submit/trunk/20120815.174732~560 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d05bd4de3ff277770ed84e4509869751ced6932;p=profile%2Fivi%2Fevas.git Evas (wayland_egl): Destroy the wl_egl_window also when we free. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@67075 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/engines/wayland_egl/evas_wl_main.c b/src/modules/engines/wayland_egl/evas_wl_main.c index cd7c07d..303397f 100644 --- a/src/modules/engines/wayland_egl/evas_wl_main.c +++ b/src/modules/engines/wayland_egl/evas_wl_main.c @@ -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;