From f245196e823cf04962033754a27ee3c48d5d85a4 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Fri, 12 Jul 2019 20:40:19 +0400 Subject: [PATCH] FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_hash.c --- src/switch_core_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core_hash.c b/src/switch_core_hash.c index a6d3ddc68c..a81747bb9f 100644 --- a/src/switch_core_hash.c +++ b/src/switch_core_hash.c @@ -218,7 +218,7 @@ SWITCH_DECLARE(switch_bool_t) switch_core_hash_empty(switch_hash_t *hash) switch_hash_index_t *hi = switch_core_hash_first(hash); if (hi) { - switch_safe_free(hi); + free(hi); return SWITCH_FALSE; }