Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        filesystem.c 


Log Message:
* OK - This bug was an ass to track down - when I made layout parents capable 
of receiving events (as well as their children), I forgot to set the plugin 
reference on the IPC-instantiated layouts - thus causing one hell of an 
annoying bug.  Think this has got it, though :)

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/filesystem.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- filesystem.c        5 Apr 2006 06:09:11 -0000       1.63
+++ filesystem.c        9 Apr 2006 12:41:44 -0000       1.64
@@ -395,10 +395,10 @@
 
       if (data->progress->type == EVFS_PROGRESS_TYPE_DONE) {
        /*TODO free the key */
-
+       ecore_hash_remove(file_copy_hash, uri);
       }
 
-      free (uri);
+      if (uri) free (uri);
       if (request->file_from) entropy_generic_file_destroy 
(request->file_from);
       if (request->file_to) entropy_generic_file_destroy (request->file_to);
       free (request);
@@ -407,7 +407,7 @@
 
   case EVFS_EV_OPERATION: {
        char *uri = NULL;
-       entropy_gui_component_instance* instance;
+       entropy_gui_component_instance* instance = NULL;
        entropy_gui_event* gui_event;
        entropy_file_operation* op;
 
@@ -869,7 +869,6 @@
   evfs_client_file_remove (con, uri_path_from->files[0]);
 
   ecore_hash_set (file_copy_hash, original, instance);
-
 
   free (uri);
 




-------------------------------------------------------
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

Reply via email to