From 32df056a32b8376f615338da1b59d299f40b87af Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Fri, 5 Aug 2016 11:33:01 +0900 Subject: [PATCH] ecore_imf: Fix crash when ECORE_IMF_MODULE is set --- src/lib/ecore_imf/ecore_imf_module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/ecore_imf/ecore_imf_module.c b/src/lib/ecore_imf/ecore_imf_module.c index e4d651c..9deede1 100644 --- a/src/lib/ecore_imf/ecore_imf_module.c +++ b/src/lib/ecore_imf/ecore_imf_module.c @@ -65,8 +65,7 @@ ecore_imf_module_init(void) { const char **itr; const char **modules_load; - const char *env; - const char *modules_one[1] = { NULL }; + const char *modules_one[2] = { NULL, NULL }; modules_load = built_modules; env = getenv("ECORE_IMF_MODULE"); -- 2.7.4