forked from enlightenment/enlightenment
Init some vars to NULL in compositor create
Summary: In some cases these end up uninitialized and we crash. Reviewers: zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2788
This commit is contained in:
parent
d4674aefb7
commit
528d8b31fc
|
@ -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()))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue