ecore_wayland: destroy tizen_extension objects when destroying surfaces 28/45428/2
authorDuna Oh <duna.oh@samsung.com>
Thu, 6 Aug 2015 02:44:30 +0000 (11:44 +0900)
committerDuna Oh <duna.oh@samsung.com>
Thu, 6 Aug 2015 02:45:01 +0000 (19:45 -0700)
Change-Id: Ibc57ff03adc7892059134d6f7261d7e6e4058c07
Signed-off-by: Duna Oh <duna.oh@samsung.com>
src/lib/ecore_wayland/ecore_wl_window.c

index 0c534e7..2f0c452 100644 (file)
@@ -558,6 +558,15 @@ ecore_wl_window_hide(Ecore_Wl_Window *win)
         win->visible = EINA_FALSE;
      }
 
+   if (win->tz_visibility) tizen_visibility_destroy(win->tz_visibility);
+   win->tz_visibility = NULL;
+
+   if (win->tz_rotation) tizen_rotation_destroy(win->tz_rotation);
+   win->tz_rotation = NULL;
+
+   if (win->tz_position) tizen_position_destroy(win->tz_position);
+   win->tz_position = NULL;
+
    if (win->xdg_surface) xdg_surface_destroy(win->xdg_surface);
    win->xdg_surface = NULL;