ecore_imf: Fix crash when ECORE_IMF_MODULE is set

This commit is contained in:
Jean-Philippe Andre 2016-08-05 11:33:01 +09:00
parent 917f34587b
commit 32df056a32
1 changed files with 1 additions and 2 deletions

View File

@ -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");