From 0122bc167cc433b7c993a1e5fa7f0c85bd536c73 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 26 Jul 2016 13:00:33 -0400 Subject: [PATCH] wl_fb: Check that e_comp_wl_init does not fail. Signed-off-by: Chris Michael --- src/modules/wl_fb/e_mod_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/wl_fb/e_mod_main.c b/src/modules/wl_fb/e_mod_main.c index cfbdef23b..6bb7206d2 100644 --- a/src/modules/wl_fb/e_mod_main.c +++ b/src/modules/wl_fb/e_mod_main.c @@ -35,7 +35,9 @@ e_modapi_init(E_Module *m) screen->h = h; e_xinerama_screens_set(eina_list_append(NULL, screen)); } - e_comp_wl_init(); + + if (!e_comp_wl_init()) return NULL; + e_comp_canvas_init(w, h); e_comp->pointer = e_pointer_canvas_new(e_comp->ee, EINA_TRUE);