Ecore_Wayland: Fix leak of struct wl_registry

SVN revision: 79569
This commit is contained in:
Eduardo de Barros Lima 2012-11-23 18:44:00 +00:00
parent a3bceeb600
commit b313428163
3 changed files with 6 additions and 0 deletions

View File

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

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

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