cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9b53044b6f0d2ad963caa449f38975db40ddd342
commit 9b53044b6f0d2ad963caa449f38975db40ddd342 Author: Cedric BAIL <cedric.b...@free.fr> Date: Wed Apr 2 15:18:46 2014 +0900 emotion: do not segv when no module are found. --- src/lib/emotion/emotion_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/emotion/emotion_modules.c b/src/lib/emotion/emotion_modules.c index 6a362a2..d10520d 100644 --- a/src/lib/emotion/emotion_modules.c +++ b/src/lib/emotion/emotion_modules.c @@ -291,7 +291,7 @@ _find_mod(const char *name) unsigned int i; int inlen; - if (!name) return NULL; + if (!name || !_emotion_modules) return NULL; inlen = strlen(name); EINA_ARRAY_ITER_NEXT(_emotion_modules, i, m, iterator) { --