ecore/wayland: Destroy the frame_callback on window_free.

This commit is contained in:
Rafael Antognolli 2013-03-26 19:25:29 -03:00
parent 41d00df3d7
commit f5f589429e
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ ecore_wl_window_free(Ecore_Wl_Window *win)
if (win->shell_surface) wl_shell_surface_destroy(win->shell_surface);
win->shell_surface = NULL;
if (win->frame_callback) wl_callback_destroy(win->frame_callback);
win->frame_callback = NULL;
if (win->surface) wl_surface_destroy(win->surface);
win->surface = NULL;