Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore
Modified Files:
ecore_hash.c
Log Message:
Use the node destroy function when removing values.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_hash.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ecore_hash.c 30 Apr 2004 03:10:15 -0000 1.3
+++ ecore_hash.c 1 May 2004 17:30:34 -0000 1.4
@@ -345,9 +345,10 @@
if (node) {
ecore_list_remove(list);
-
ret = node->value;
- FREE(node);
+ node->value = NULL;
+ _ecore_hash_node_destroy(node, hash->free_key,
+ hash->free_value);
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs