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.


SVN revision: 38275
This commit is contained in:
Ulisses Furquim 2008-12-22 02:30:17 +00:00
parent c36a5f23c3
commit c2651a9f31
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}