summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_buffer.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-11-17 14:08:34 -0600
committerDerek Foreman <derekf@osg.samsung.com>2017-11-17 14:32:50 -0600
commit04ce069cba5257197289f3adb3d53b4df0db6838 (patch)
tree3da797abb77b8b9a5f759c1d35a1857e0db0ada1 /src/lib/ecore_wl2/ecore_wl2_buffer.c
parent7821367b1aba1264d41bb5a261adf3edbc123b67 (diff)
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.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_buffer.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_buffer.c2
1 files changed, 1 insertions, 1 deletions
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)
600 struct zwp_linux_buffer_params_v1 *dp; 600 struct zwp_linux_buffer_params_v1 *dp;
601 Ecore_Wl2_Buffer *buf; 601 Ecore_Wl2_Buffer *buf;
602 602
603 if (!ecore_wl2_buffer_init(ewd, ECORE_WL2_BUFFER_DMABUF)) goto fail; 603 if (!ecore_wl2_buffer_init(ewd, ECORE_WL2_BUFFER_DMABUF)) return;
604 604
605 buf = _ecore_wl2_buffer_partial_create(1, 1, EINA_TRUE); 605 buf = _ecore_wl2_buffer_partial_create(1, 1, EINA_TRUE);
606 if (!buf) goto fail; 606 if (!buf) goto fail;