derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=04ce069cba5257197289f3adb3d53b4df0db6838

commit 04ce069cba5257197289f3adb3d53b4df0db6838
Author: Derek Foreman <[email protected]>
Date:   Fri Nov 17 14:08:34 2017 -0600

    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.
---
 src/lib/ecore_wl2/ecore_wl2_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_buffer.c 
b/src/lib/ecore_wl2/ecore_wl2_buffer.c
index c074870df0..de0b6aa78b 100644
--- a/src/lib/ecore_wl2/ecore_wl2_buffer.c
+++ b/src/lib/ecore_wl2/ecore_wl2_buffer.c
@@ -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;

-- 


Reply via email to