forked from enlightenment/efl
emotion: do not segv when no module are found.
This commit is contained in:
parent
e50bcc937c
commit
9b53044b6f
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue