eina: let eina_hash_free behave like free.
SVN revision: 66694
This commit is contained in:
parent
d92a903ffe
commit
fa3ca325d3
|
@ -177,3 +177,7 @@
|
|||
2011-12-30 Vincent Torri
|
||||
|
||||
* Add Eina_Semaphore abstraction API.
|
||||
|
||||
2011-12-30 Cedric Bail
|
||||
|
||||
* Let eina_hash_free behave like free.
|
||||
|
|
|
@ -872,8 +872,9 @@ eina_hash_free_buckets(Eina_Hash *hash)
|
|||
{
|
||||
int i;
|
||||
|
||||
if (!hash) return ;
|
||||
|
||||
EINA_MAGIC_CHECK_HASH(hash);
|
||||
EINA_SAFETY_ON_NULL_RETURN(hash);
|
||||
|
||||
if (hash->buckets)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue