summaryrefslogtreecommitdiff
path: root/legacy/emotion/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index db9d8b578f..b874ff7416 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -107,8 +107,11 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module **
107 { 107 {
108 if (func_module_open(obj, mod, video, &(sd->module_options))) 108 if (func_module_open(obj, mod, video, &(sd->module_options)))
109 { 109 {
110 (*mod)->handle = handle; 110 if (*mod)
111 return 1; 111 {
112 (*mod)->handle = handle;
113 return 1;
114 }
112 } 115 }
113 } 116 }
114 dlclose(handle); 117 dlclose(handle);