benchmarks: Fix copy-paste error
authorChristopher Michael <cp.michael@samsung.com>
Wed, 22 May 2019 12:45:24 +0000 (08:45 -0400)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 30 May 2019 08:17:52 +0000 (17:17 +0900)
Coverity reports this as a copy-paste error, and checking the code it
certainly looks that way, so lets call the proper hash function here

Fixes CID1401052

@fix

src/benchmarks/eina/ecore_hash.c

index 374a0e0..76a5ad2 100644 (file)
@@ -236,7 +236,7 @@ ecore_hash_hash_set(Ecore_Hash *hash, Ecore_Hash *set)
                      hash->free_key(node->key);
 
                   if (hash->free_value)
-                     hash->free_key(node->value);
+                     hash->free_value(node->value);
 
                   node->key = old->key;
                   node->value = old->value;