fix double free

eina_hash_del calls free callback, so we don't need to free the data
ourselves.

SVN revision: 49247
This commit is contained in:
Sebastian Dransfeld 2010-05-28 09:25:16 +00:00
parent 98d843e91b
commit cf894cab2e
1 changed files with 0 additions and 2 deletions

View File

@ -1609,8 +1609,6 @@ efreet_desktop_changes_cb(void *data __UNUSED__, Ecore_File_Monitor *em __UNUSED
case ECORE_FILE_EVENT_DELETED_SELF:
case ECORE_FILE_EVENT_DELETED_DIRECTORY:
fm = eina_hash_find(change_monitors, path);
if (fm) ecore_file_monitor_del(fm);
eina_hash_del_by_key(change_monitors, path);
efreet_desktop_update_cache();
break;