Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/lib


Modified Files:
        emotion_smart.c 


Log Message:
Fix the play of 2 files. Patch by Nicolas Aguirre

===================================================================
RCS file: /cvs/e/e17/libs/emotion/src/lib/emotion_smart.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- emotion_smart.c     6 Nov 2007 16:59:50 -0000       1.38
+++ emotion_smart.c     11 Nov 2007 16:02:02 -0000      1.39
@@ -125,7 +125,10 @@
      printf ("Unable to load module %s\n", name);
 
    if (path_group)
-     ecore_path_group_del(path_group);
+     {
+        ecore_path_group_del(path_group);
+        path_group = NULL;
+     }
 
    return 0;
 }
@@ -147,7 +150,11 @@
    /*
    ecore_plugin_unload(plugin);
    */
-   ecore_path_group_del(path_group);
+   if (path_group)
+     {
+        ecore_path_group_del(path_group);
+        path_group = NULL;
+     }
 }
 
 /*******************************/



-------------------------------------------------------------------------
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