projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4674ae
)
Init some vars to NULL in compositor create
author
Derek Foreman
<derekf@osg.samsung.com>
Thu, 2 Jul 2015 21:54:40 +0000
(17:54 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Thu, 2 Jul 2015 21:54:40 +0000
(17:54 -0400)
Summary: In some cases these end up uninitialized and we crash.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2788
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index
6e9a14c
..
950586a
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-2497,7
+2497,7
@@
_e_comp_wl_compositor_create(void)
Ecore_X_Window root = 0;
int len = 0;
unsigned char *dat;
- char *rules
, *model, *layout
;
+ char *rules
= NULL, *model = NULL, *layout = NULL
;
if ((ekbd = e_xkb_layout_get()))
{