From: Jean-Philippe Andre Date: Fri, 5 Aug 2016 02:33:01 +0000 (+0900) Subject: ecore_imf: Fix crash when ECORE_IMF_MODULE is set X-Git-Tag: upstream/1.20.0~4927 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32df056a32b8376f615338da1b59d299f40b87af;p=platform%2Fupstream%2Fefl.git ecore_imf: Fix crash when ECORE_IMF_MODULE is set --- 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");