projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e50bcc9
)
emotion: do not segv when no module are found.
author
Cedric BAIL
<cedric.bail@free.fr>
Wed, 2 Apr 2014 06:18:46 +0000
(15:18 +0900)
committer
Cedric BAIL
<cedric.bail@free.fr>
Wed, 2 Apr 2014 06:43:47 +0000
(15:43 +0900)
src/lib/emotion/emotion_modules.c
patch
|
blob
|
history
diff --git
a/src/lib/emotion/emotion_modules.c
b/src/lib/emotion/emotion_modules.c
index
6a362a2
..
d10520d
100644
(file)
--- 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)
{