projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517f929
)
ecore_wl2: Reset buffer_manager to NULL on failure
author
Derek Foreman
<derekf@osg.samsung.com>
Wed, 15 Nov 2017 17:27:26 +0000
(11:27 -0600)
committer
Derek Foreman
<derekf@osg.samsung.com>
Wed, 15 Nov 2017 17:54:37 +0000
(11:54 -0600)
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.
src/lib/ecore_wl2/ecore_wl2_buffer.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wl2/ecore_wl2_buffer.c
b/src/lib/ecore_wl2/ecore_wl2_buffer.c
index
58e2d6a
..
60e4312
100644
(file)
--- a/
src/lib/ecore_wl2/ecore_wl2_buffer.c
+++ b/
src/lib/ecore_wl2/ecore_wl2_buffer.c
@@
-433,6
+433,7
@@
err_bm:
close(fd);
err_drm:
free(buffer_manager);
+ buffer_manager = NULL;
err_alloc:
return EINA_FALSE;
}