From 3a48ded424ead998b281787f74b4c5ab337f2312 Mon Sep 17 00:00:00 2001 From: englebass Date: Sun, 14 Mar 2010 20:48:52 +0000 Subject: [PATCH] Fix?? segv For some peculiar reason, using ecore_file_realpath here screws with efreet_menu. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47224 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/efreet_desktop.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib/efreet_desktop.c b/src/lib/efreet_desktop.c index b95c569..934c893 100644 --- a/src/lib/efreet_desktop.c +++ b/src/lib/efreet_desktop.c @@ -427,7 +427,8 @@ efreet_desktop_new(const char *file) char *rp = NULL; if (!file) return NULL; - rp = ecore_file_realpath(file); + //rp = ecore_file_realpath(file); + rp = strdup(file); if (cache) { /* TODO: Check if the cached version is out of date */ @@ -681,10 +682,10 @@ efreet_desktop_free(Efreet_Desktop *desktop) if (desktop->eet) { - //eina_list_free(desktop->only_show_in); - //eina_list_free(desktop->not_show_in); - //eina_list_free(desktop->categories); - //eina_list_free(desktop->mime_types); + eina_list_free(desktop->only_show_in); + eina_list_free(desktop->not_show_in); + eina_list_free(desktop->categories); + eina_list_free(desktop->mime_types); IF_FREE_HASH(desktop->x); } else -- 2.7.4