summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_buffer.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-11-15 11:27:26 -0600
committerDerek Foreman <derekf@osg.samsung.com>2017-11-15 11:54:37 -0600
commit23f5b411766ddd394c72a6b66143977c94b0878b (patch)
tree9f5a5b0163b60b2b586ab38b2b2a3947b24dcfce /src/lib/ecore_wl2/ecore_wl2_buffer.c
parent517f929aa5b9df398359d3b4861d108795535287 (diff)
ecore_wl2: Reset buffer_manager to NULL on failure
Calling this multiple times even after it fails the first time is a legit thing now. We'll be doing that when we want to test dmabuf at connection start.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_buffer.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_buffer.c b/src/lib/ecore_wl2/ecore_wl2_buffer.c
index 58e2d6a0c4..60e4312153 100644
--- a/src/lib/ecore_wl2/ecore_wl2_buffer.c
+++ b/src/lib/ecore_wl2/ecore_wl2_buffer.c
@@ -433,6 +433,7 @@ err_bm:
433 close(fd); 433 close(fd);
434err_drm: 434err_drm:
435 free(buffer_manager); 435 free(buffer_manager);
436 buffer_manager = NULL;
436err_alloc: 437err_alloc:
437 return EINA_FALSE; 438 return EINA_FALSE;
438} 439}