From: raster Date: Fri, 26 Oct 2007 10:49:16 +0000 (+0000) Subject: check if *mod is null X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~426 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe0773b81a5bb91783cd10996c46cb64a4eb9a06;p=profile%2Fivi%2Femotion.git check if *mod is null git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@32167 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/emotion_smart.c b/src/lib/emotion_smart.c index db9d8b5..b874ff7 100644 --- 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);