From f5f589429edff8d3580e3b287322c5ed434b71ac Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Tue, 26 Mar 2013 19:25:29 -0300 Subject: [PATCH] ecore/wayland: Destroy the frame_callback on window_free. --- src/lib/ecore_wayland/ecore_wl_window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index b9474b3ae8..ffdf83bf4d 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c @@ -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;