Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: filesystem.c Log Message: * Don't free the folder until the end - we may still need it =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/filesystem.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -3 -r1.52 -r1.53 --- filesystem.c 5 Mar 2006 05:42:37 -0000 1.52 +++ filesystem.c 5 Mar 2006 06:27:18 -0000 1.53 @@ -59,6 +59,9 @@ watchers = ecore_hash_keys (folder_monitor_hash); ecore_list_goto_first (watchers); while ((key = ecore_list_next (watchers))) { + printf("Scanning watcher... %s:%s\n", ((evfs_file_uri_path *) + ecore_hash_get (folder_monitor_hash, key))->files[0]->path, folder ); + if (!strcmp (((evfs_file_uri_path *) ecore_hash_get (folder_monitor_hash, key))->files[0]->path, @@ -91,15 +94,11 @@ listener->file = file; listener->count = 0; entropy_core_file_cache_add (md5, listener); - - entropy_free (folder); - } else { file = listener->file; entropy_free (md5); /*We don't need this one, we're returning an old ref */ - entropy_free (folder); } @@ -141,6 +140,8 @@ ENTROPY_EVENT_LOCAL); } } + + entropy_free (folder); } break; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs