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:
Derek Foreman 2015-07-02 17:54:40 -04:00 committed by Mike Blumenkrantz
parent d4674aefb7
commit 528d8b31fc
1 changed files with 1 additions and 1 deletions

View File

@ -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()))
{