Ecore_Wayland: Fix leak of struct wl_registry
authoretrunko <etrunko@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 23 Nov 2012 18:44:00 +0000 (18:44 +0000)
committeretrunko <etrunko@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 23 Nov 2012 18:44:00 +0000 (18:44 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/ecore-1.7@79569 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
NEWS
src/lib/ecore_wayland/ecore_wl.c

index 9c6796b..b61f4d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
        * Update Ecore_Wayland to build & work with newest wayland (0.99) from
        git
+
+2012-11-23  Eduardo Lima (Etrunko)
+
+       * Fix small leak in of strcut wl_registry in Ecore Wayland
+
diff --git a/NEWS b/NEWS
index ab03c53..0898bd1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,7 @@ Fixes:
     * ecore: ecore_thread_feedback() memory allocation and corruption fixed.
     * ecore_wayland:
      - Update to work with latest wayland (0.99) from git.
+     - Fix leak of struct wl_registry
 
 
 Changes since Ecore 1.2.0:
index 4e6218b..8abfc74 100644 (file)
@@ -379,6 +379,7 @@ _ecore_wl_shutdown(Eina_Bool close)
           wl_compositor_destroy(_ecore_wl_disp->wl.compositor);
         if (_ecore_wl_disp->wl.display)
           {
+             wl_registry_destroy(_ecore_wl_disp->wl.registry);
              wl_display_flush(_ecore_wl_disp->wl.display);
              wl_display_disconnect(_ecore_wl_disp->wl.display);
           }