summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/eina/ChangeLog4
-rw-r--r--legacy/eina/src/lib/eina_hash.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/legacy/eina/ChangeLog b/legacy/eina/ChangeLog
index 638b828e71..8f0b210b09 100644
--- a/legacy/eina/ChangeLog
+++ b/legacy/eina/ChangeLog
@@ -177,3 +177,7 @@
1772011-12-30 Vincent Torri 1772011-12-30 Vincent Torri
178 178
179 * Add Eina_Semaphore abstraction API. 179 * Add Eina_Semaphore abstraction API.
180
1812011-12-30 Cedric Bail
182
183 * Let eina_hash_free behave like free.
diff --git a/legacy/eina/src/lib/eina_hash.c b/legacy/eina/src/lib/eina_hash.c
index 78c64831ed..51968945d1 100644
--- a/legacy/eina/src/lib/eina_hash.c
+++ b/legacy/eina/src/lib/eina_hash.c
@@ -872,8 +872,9 @@ eina_hash_free_buckets(Eina_Hash *hash)
872{ 872{
873 int i; 873 int i;
874 874
875 if (!hash) return ;
876
875 EINA_MAGIC_CHECK_HASH(hash); 877 EINA_MAGIC_CHECK_HASH(hash);
876 EINA_SAFETY_ON_NULL_RETURN(hash);
877 878
878 if (hash->buckets) 879 if (hash->buckets)
879 { 880 {