Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:


segv patch from reinier :)

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -3 -r1.129 -r1.130
--- e_apps.c    7 Apr 2006 12:27:20 -0000       1.129
+++ e_apps.c    12 Apr 2006 22:43:44 -0000      1.130
@@ -2198,8 +2198,11 @@
        if ((ac2->is_dir) && (scan_subdirs))
          {
             a2 = e_app_new(buf, scan_subdirs);
-            a2->parent = a;
-            a->subapps = evas_list_append(a->subapps, a2);
+            if (a2) 
+              {
+                 a2->parent = a;
+                 a->subapps = evas_list_append(a->subapps, a2);
+              }
          }
        else
          {




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to