forked from enlightenment/efl
ecore_wl2: Properly handle buffer test failure during buffer_init
The buffer manager is already cleaned up at this point, don't try to do it again.
This commit is contained in:
parent
7821367b1a
commit
04ce069cba
|
@ -600,7 +600,7 @@ _ecore_wl2_buffer_test(Ecore_Wl2_Display *ewd)
|
|||
struct zwp_linux_buffer_params_v1 *dp;
|
||||
Ecore_Wl2_Buffer *buf;
|
||||
|
||||
if (!ecore_wl2_buffer_init(ewd, ECORE_WL2_BUFFER_DMABUF)) goto fail;
|
||||
if (!ecore_wl2_buffer_init(ewd, ECORE_WL2_BUFFER_DMABUF)) return;
|
||||
|
||||
buf = _ecore_wl2_buffer_partial_create(1, 1, EINA_TRUE);
|
||||
if (!buf) goto fail;
|
||||
|
|
Loading…
Reference in New Issue