From 638286fc6964238f7c97d797a87b7c15deb3273d Mon Sep 17 00:00:00 2001 From: ulisses Date: Mon, 22 Dec 2008 02:30:17 +0000 Subject: [PATCH] Fix segfault when double freeing a string. This fix makes it work again. However, ecore plugin should really be rewritten or we should start considering eina_module instead. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@38275 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore/ecore_plugin.c b/src/lib/ecore/ecore_plugin.c index 214f11d..80e3c56 100644 --- a/src/lib/ecore/ecore_plugin.c +++ b/src/lib/ecore/ecore_plugin.c @@ -249,6 +249,6 @@ ecore_plugin_available_get(Ecore_Path_Group *group) static Eina_Bool _hash_keys(const Eina_Hash *hash, const char *key, void *list) { - ecore_list_append(list, key); + ecore_list_append(list, strdup(key)); return EINA_TRUE; } -- 2.7.4