discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=528d8b31fc91a7fae3a77ec02e06013ae6ed0695

commit 528d8b31fc91a7fae3a77ec02e06013ae6ed0695
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Thu Jul 2 17:54:40 2015 -0400

    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
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 6e9a14c..950586a 100644
--- 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()))
           {

-- 


Reply via email to