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:
set data to NULL after deleting hash.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop_icon.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- ecore_desktop_icon.c        23 Sep 2006 10:53:50 -0000      1.29
+++ ecore_desktop_icon.c        23 Sep 2006 11:08:06 -0000      1.30
@@ -508,7 +508,7 @@
                  dir->threshold = atoi(threshold);
 
                  dir->size = atoi(size);
-                 ecore_list_append(result-> Directories, dir);
+                 ecore_list_append(result->Directories, dir);
               }
             else
               _ecore_desktop_icon_theme_directory_destroy(dir);
@@ -521,6 +521,7 @@
    result->path = strdup(theme_path);
    ecore_hash_set(icon_theme_cache, strdup(icon_theme), result);
    ecore_hash_destroy(result->data);
+   result->data = NULL;
 
 done:
    if (dir)        free(dir);



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