eina: let eina_hash_free() behave like free().

SVN revision: 66636
This commit is contained in:
Cedric BAIL 2011-12-29 14:06:33 +00:00
parent d42f1a957c
commit 8c21aa666d
1 changed files with 2 additions and 1 deletions

View File

@ -854,8 +854,9 @@ eina_hash_free(Eina_Hash *hash)
{
int i;
if (!hash) return ;
EINA_MAGIC_CHECK_HASH(hash);
EINA_SAFETY_ON_NULL_RETURN(hash);
if (hash->buckets)
{