antognolli pushed a commit to branch master.

commit f5f589429edff8d3580e3b287322c5ed434b71ac
Author: Rafael Antognolli <[email protected]>
Date:   Tue Mar 26 19:25:29 2013 -0300

    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 b9474b3..ffdf83b 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;
 

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to