Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/lib


Modified Files:
        emotion_smart.c 


Log Message:


check if *mod is null

===================================================================
RCS file: /cvs/e/e17/libs/emotion/src/lib/emotion_smart.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- emotion_smart.c     25 Oct 2007 04:52:39 -0000      1.32
+++ emotion_smart.c     26 Oct 2007 10:49:16 -0000      1.33
@@ -107,8 +107,11 @@
          {
             if (func_module_open(obj, mod, video, &(sd->module_options)))
               {
-                 (*mod)->handle = handle;
-                 return 1;
+                 if (*mod)
+                   {
+                      (*mod)->handle = handle;
+                      return 1;
+                   }
               }
          }
        dlclose(handle);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to