Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: ecore_hash.c Log Message: - if we're replacing the value in the hash make sure we free the old value =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_hash.c,v retrieving revision 1.31 retrieving revision 1.32 diff -u -3 -r1.31 -r1.32 --- ecore_hash.c 4 Jan 2007 07:45:40 -0000 1.31 +++ ecore_hash.c 11 Jan 2007 23:42:21 -0000 1.32 @@ -155,6 +155,7 @@ if (node) { if (hash->free_key) hash->free_key(key); + if (node->value && hash->free_value) hash->free_value(node->value); node->value = value; ret = TRUE; } ------------------------------------------------------------------------- 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