From: Carsten Haitzler Date: Wed, 12 Apr 2006 22:43:44 +0000 (+0000) Subject: segv patch from reinier :) X-Git-Tag: submit/efl/20131021.015651~13782 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92da7990c55681e370dce745b3b97adf587fa56d;p=platform%2Fupstream%2Fenlightenment.git segv patch from reinier :) SVN revision: 22073 --- diff --git a/src/bin/e_apps.c b/src/bin/e_apps.c index 4828539..562c0fd 100644 --- a/src/bin/e_apps.c +++ b/src/bin/e_apps.c @@ -2198,8 +2198,11 @@ _e_app_cache_new(E_App_Cache *ac, const char *path, int scan_subdirs) 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 {