summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
diff options
context:
space:
mode:
authorEduardo de Barros Lima <eblima@gmail.com>2012-11-23 18:44:00 +0000
committerEduardo de Barros Lima <eblima@gmail.com>2012-11-23 18:44:00 +0000
commitb313428163781e31a7fb78538136f97e59878893 (patch)
treeaa5f1e42b92e03f7b216fdf6918cb7cea4f38346 /legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
parenta3bceeb6008f1081749e797d907da06d5f09d37b (diff)
Ecore_Wayland: Fix leak of struct wl_registry
SVN revision: 79569
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_wayland/ecore_wl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
index 4e6218b8c7..8abfc74bfa 100644
--- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
+++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
@@ -379,6 +379,7 @@ _ecore_wl_shutdown(Eina_Bool close)
379 wl_compositor_destroy(_ecore_wl_disp->wl.compositor); 379 wl_compositor_destroy(_ecore_wl_disp->wl.compositor);
380 if (_ecore_wl_disp->wl.display) 380 if (_ecore_wl_disp->wl.display)
381 { 381 {
382 wl_registry_destroy(_ecore_wl_disp->wl.registry);
382 wl_display_flush(_ecore_wl_disp->wl.display); 383 wl_display_flush(_ecore_wl_disp->wl.display);
383 wl_display_disconnect(_ecore_wl_disp->wl.display); 384 wl_display_disconnect(_ecore_wl_disp->wl.display);
384 } 385 }