projects
/
profile
/
ivi
/
emotion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055ed5f
)
check if *mod is null
author
raster
<raster>
Fri, 26 Oct 2007 10:49:16 +0000
(10:49 +0000)
committer
raster
<raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 26 Oct 2007 10:49:16 +0000
(10:49 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@32167
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/emotion_smart.c
patch
|
blob
|
history
diff --git
a/src/lib/emotion_smart.c
b/src/lib/emotion_smart.c
index
db9d8b5
..
b874ff7
100644
(file)
--- a/
src/lib/emotion_smart.c
+++ b/
src/lib/emotion_smart.c
@@
-107,8
+107,11
@@
_emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module **
{
if (func_module_open(obj, mod, video, &(sd->module_options)))
{
- (*mod)->handle = handle;
- return 1;
+ if (*mod)
+ {
+ (*mod)->handle = handle;
+ return 1;
+ }
}
}
dlclose(handle);