Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

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


Modified Files:
        ecore_desktop_icon.c 


Log Message:
Free temporary directory.
_ecore_desktop_icon_theme_destroy free's base struct, so must be at end.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ecore_desktop_icon.c        23 Sep 2006 11:16:48 -0000      1.32
+++ ecore_desktop_icon.c        23 Sep 2006 11:21:29 -0000      1.33
@@ -516,6 +516,7 @@
        else if (dir)
          _ecore_desktop_icon_theme_directory_destroy(dir);
      }
+   ecore_list_destroy(Directories);
 
    /* This passes the basic validation tests, mark it as real and cache it. */
    result->path = strdup(theme_path);
@@ -535,9 +536,8 @@
    if (theme_path) free(theme_path);
    if (result)
      {
-       _ecore_desktop_icon_theme_destroy(result);
        if (result->data) ecore_hash_destroy(result->data);
-       free(result);
+       _ecore_desktop_icon_theme_destroy(result);
      }
    return NULL;
 }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to