FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_hash.c

This commit is contained in:
Andrey Volk 2019-07-12 20:40:19 +04:00
parent b6f98bdce0
commit f245196e82
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}