Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_desktop


Modified Files:
        ecore_desktop_icon.c 


Log Message:
Don't free this here, it gets freed at shutdown with the cache.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ecore_desktop_icon.c        10 Sep 2006 12:16:05 -0000      1.17
+++ ecore_desktop_icon.c        13 Sep 2006 03:57:09 -0000      1.18
@@ -310,7 +310,6 @@
                                                  {
                                                     if (match) /* If there is 
a match in sizes, return the icon. */
                                                       {
-                                                         
ecore_hash_destroy(theme);
                                                          
ecore_list_destroy(directory_paths);
                                                          free(theme_path);
                                                          return found;
@@ -334,7 +333,6 @@
                            /* Fall back strategy #1, look for closest size in 
this theme. */
                            if (closest)
                              {
-                                ecore_hash_destroy(theme);
                                 ecore_list_destroy(directory_paths);
                                 free(theme_path);
                                 return closest;
@@ -349,7 +347,6 @@
                                                              inherits);
                                 if (found != NULL)
                                   {
-                                     ecore_hash_destroy(theme);
                                      ecore_list_destroy(directory_paths);
                                      free(theme_path);
                                      return found;
@@ -365,7 +362,6 @@
                                                              "hicolor");
                                 if (found != NULL)
                                   {
-                                     ecore_hash_destroy(theme);
                                      ecore_list_destroy(directory_paths);
                                      free(theme_path);
                                      return found;
@@ -385,7 +381,6 @@
                                     NULL);
                                 if (found)
                                   {
-                                     ecore_hash_destroy(theme);
                                      ecore_list_destroy(directory_paths);
                                      free(theme_path);
                                      return found;
@@ -395,7 +390,6 @@
                         }
                    }
               }
-            ecore_hash_destroy(theme);
          }
        free(theme_path);
      }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to