Ecore_Wayland: Fix leak of struct wl_registry

SVN revision: 79569
devs/devilhorns/wayland_egl
Eduardo de Barros Lima 10 years ago
parent a3bceeb600
commit b313428163
  1. 4
      legacy/ecore/ChangeLog
  2. 1
      legacy/ecore/NEWS
  3. 1
      legacy/ecore/src/lib/ecore_wayland/ecore_wl.c

@ -1018,3 +1018,7 @@
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

@ -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).

@ -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);
}

Loading…
Cancel
Save