Ecore_Wayland: Fix leak of struct wl_registry
authorEduardo de Barros Lima <eblima@gmail.com>
Fri, 23 Nov 2012 18:44:00 +0000 (18:44 +0000)
committerEduardo de Barros Lima <eblima@gmail.com>
Fri, 23 Nov 2012 18:44:00 +0000 (18:44 +0000)
SVN revision: 79569

legacy/ecore/ChangeLog
legacy/ecore/NEWS
legacy/ecore/src/lib/ecore_wayland/ecore_wl.c

index 28b0835..6cc4a95 100644 (file)
 2012-10-19  Cedric Bail
 
        * Use Eina_Thread for Ecore_Thread.
+
+2012-11-23  Eduardo Lima (Etrunko)
+
+       * Fix leak of strcut wl_registry in Ecore Wayland
index 80a2f53..1747889 100644 (file)
@@ -40,6 +40,7 @@ Fixes:
      - send ECORE_X_EVENT_SELECTION_NOTIFY even if there is no data.
     * ecore_wayland:
      - Update to work with latest wayland (0.99) from git.
+     - Fix leak of struct wl_registry
 
 Removal:
     * 16bpp evas engine support removed (API still there, but inactive).
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);
           }