zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=4d2c25456c2853987f34c07450e799f0aa0808ad

commit 4d2c25456c2853987f34c07450e799f0aa0808ad
Author: Christopher Michael <[email protected]>
Date:   Wed May 22 08:45:24 2019 -0400

    benchmarks: Fix copy-paste error
    
    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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/benchmarks/eina/ecore_hash.c b/src/benchmarks/eina/ecore_hash.c
index 374a0e08da..76a5ad2e38 100644
--- a/src/benchmarks/eina/ecore_hash.c
+++ b/src/benchmarks/eina/ecore_hash.c
@@ -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;

-- 


Reply via email to