Enlightenment CVS committal Author : dj2 Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_startup.c Log Message: - this was causing e to segv under valgrind. I'm assuming full_path is the correct thing to thumb (and it seems to work) but c was never set to anything, so it was wrong. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_startup.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- e_int_config_startup.c 5 Jun 2006 12:09:21 -0000 1.6 +++ e_int_config_startup.c 6 Jun 2006 03:39:42 -0000 1.7 @@ -133,7 +133,6 @@ int i = 0; int selnum = -1; const char *s; - char *c; char *homedir; if (!il) return; @@ -147,7 +146,6 @@ im = e_widget_preview_add(cfd->dia->win->evas, 320, (320 * e_zone_current_get(cfd->dia->win->container)->h) / e_zone_current_get(cfd->dia->win->container)->w); - /* Load inits */ init_dirs = e_path_dir_list_get(path_init); @@ -198,7 +196,7 @@ if (ecore_file_is_dir(full_path)) continue; if (!e_util_edje_collection_exists(full_path, "init/splash")) continue; - if (!e_thumb_exists(c)) + if (!e_thumb_exists(full_path)) ic = e_thumb_generate_begin(full_path, 48, 48, cfd->dia->win->evas, &ic, NULL, NULL); else ic = e_thumb_evas_object_get(full_path, cfd->dia->win->evas, 48, 48, 1); @@ -224,7 +222,6 @@ } evas_list_free(init); if (init_dirs) e_path_dir_list_free(init_dirs); - free(c); cfd->data = im; e_widget_ilist_go(il); if (selnum >= 0) _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs