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:
ee33978
)
ecore_drm: Don't pass uninit garbage to drm ioctls
author
Derek Foreman
<derekf@osg.samsung.com>
Tue, 28 Jun 2016 20:57:41 +0000
(15:57 -0500)
committer
Derek Foreman
<derekf@osg.samsung.com>
Tue, 28 Jun 2016 20:57:41 +0000
(15:57 -0500)
Hasn't actually caused us any problems so far, but valgrind
whines about it, so fixing anyway.
src/lib/ecore_drm2/ecore_drm2_fb.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm2/ecore_drm2_fb.c
b/src/lib/ecore_drm2/ecore_drm2_fb.c
index
4b6b9a5
..
58ad911
100644
(file)
--- a/
src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/
src/lib/ecore_drm2/ecore_drm2_fb.c
@@
-4,8
+4,8
@@
static Eina_Bool
_fb2_create(Ecore_Drm2_Fb *fb)
{
struct drm_mode_fb_cmd2 cmd;
- uint32_t hdls[4]
, pitches[4], offsets[4]
;
- uint64_t modifiers[4];
+ uint32_t hdls[4]
= { 0 }, pitches[4] = { 0 }, offsets[4] = { 0 }
;
+ uint64_t modifiers[4]
= { 0 }
;
hdls[0] = fb->hdl;
pitches[0] = fb->stride;