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 ** { if (func_module_open(obj, mod, video, &(sd->module_options))) { - (*mod)->handle = handle; - return 1; + if (*mod) + { + (*mod)->handle = handle; + return 1; + } } } dlclose(handle);