summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-08-05 11:33:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-08-05 11:33:01 +0900
commit32df056a32b8376f615338da1b59d299f40b87af (patch)
tree1dc6719d7fa148fc810fb84d19ff5fcb078885e4
parent917f34587bc8d90bbc03475a25c66fb89b418385 (diff)
downloadefl-32df056a32b8376f615338da1b59d299f40b87af.tar.gz
ecore_imf: Fix crash when ECORE_IMF_MODULE is set
-rw-r--r--src/lib/ecore_imf/ecore_imf_module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_module.c b/src/lib/ecore_imf/ecore_imf_module.c
index e4d651cada..9deede1499 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");