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:
Derek Foreman 2017-11-17 14:08:34 -06:00
parent 7821367b1a
commit 04ce069cba
1 changed files with 1 additions and 1 deletions

View File

@ -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;