efl/src/lib/ecore_wl2
Jean-Philippe Andre b29847e0da wayland_egl: Fix double free in case of failure
When trying to create a window, the WL EGL engine creates
an ecore_evas and connects to the wayland display. But if
EGL is not supported (in weston with nvidia for instance),
the egl initialization fails and the window must be detroyed
in order to fallback to wayland_shm.

This led to a double disconnect from the wayland display
as both the ecore_evas del and the error handling code
were trying to disconnect.

Also, use ref == 0 in two places rather than ref <= 0, as
it can prevent double frees in bad situations (ref < 0).
And reset a global variable to NULL on shutdown.
2016-08-11 11:37:41 +09:00
..
Ecore_Wl2.h ecore_wl2: mark new events with since tag 2016-08-05 23:14:57 +02:00
ecore_wl2.c ecore_wl2: split of cnp_selection_data_ready and 2016-07-11 11:02:52 +02:00
ecore_wl2_display.c wayland_egl: Fix double free in case of failure 2016-08-11 11:37:41 +09:00
ecore_wl2_dnd.c ecore_wl2: dnd: fix leak of event resource when not used 2016-07-19 14:52:28 +02:00
ecore_wl2_input.c ecore-wl2: Reduce debug noise on key events 2016-07-25 12:18:48 -04:00
ecore_wl2_output.c ecore-wl2: Add API function to get the DPI of a given output 2015-12-03 12:02:40 -05:00
ecore_wl2_private.h ecore_wl2: be compatible with x input 2016-07-21 22:10:54 +02:00
ecore_wl2_seat.c ecore_drm/ecore_wl2: logging: remove errant usage of %m 2016-01-14 13:06:02 -05:00
ecore_wl2_subsurf.c ecore-wl2: null out subsurface pointers after destroying them 2016-05-05 10:49:30 -04:00
ecore_wl2_window.c ecore-wl2: Add safety check for valid compositor 2016-07-26 12:43:24 -04:00
linux-dmabuf-unstable-v1-client-protocol.h ecore_wl2: Add generated dmabuf files 2016-04-19 15:11:09 -04:00
linux-dmabuf-unstable-v1-protocol.c ecore_wl2: Add generated dmabuf files 2016-04-19 15:11:09 -04:00
linux-dmabuf-unstable-v1-server-protocol.h ecore_wl2: Add generated dmabuf files 2016-04-19 15:11:09 -04:00
session-recovery.c wayland: implement session recovery 2016-05-05 10:49:31 -04:00
session-recovery.h wayland: implement session recovery 2016-05-05 10:49:31 -04:00
subsurface-client-protocol.h ecore-wl2: Add subsurface protocol files to support subsurfaces 2015-12-03 12:02:40 -05:00
subsurface-protocol.c ecore-wl2: Add subsurface protocol files to support subsurfaces 2015-12-03 12:02:40 -05:00
teamwork_protocol.c elm_win: implement v2 of teamwork api using window-based display protocol 2016-05-20 14:54:06 -04:00
teamwork_protocol.h elm_win: implement v2 of teamwork api using window-based display protocol 2016-05-20 14:54:06 -04:00
www-protocol.c ecore_wl2: implement www extension for client-side use 2016-04-01 06:49:49 -04:00
www-protocol.h ecore_wl2: implement www extension for client-side use 2016-04-01 06:49:49 -04:00
xdg-shell-client-protocol.h ecore-wl2: Add xdg_shell protocol files 2015-12-03 12:02:40 -05:00
xdg-shell-protocol.c ecore-wl2: Add xdg_shell protocol files 2015-12-03 12:02:40 -05:00