From df559e0aacc8882f1a61da6269678fa5108117c8 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sat, 30 Aug 2014 01:32:57 +0000 Subject: [PATCH] Add back goodness refactored out --- src/mod/applications/mod_hash/mod_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_hash/mod_hash.c b/src/mod/applications/mod_hash/mod_hash.c index 0f040f5093..133f05de3e 100644 --- a/src/mod/applications/mod_hash/mod_hash.c +++ b/src/mod/applications/mod_hash/mod_hash.c @@ -288,9 +288,9 @@ SWITCH_LIMIT_RELEASE(limit_release_hash) /* clear for uuid */ if (realm == NULL && resource == NULL) { - switch_hash_index_t *hi; + switch_hash_index_t *hi = NULL; /* Loop through the channel's hashtable which contains mapping to all the limit_hash_item_t referenced by that channel */ - while ((hi = switch_core_hash_first_iter(pvt->hash, NULL))) { + while ((hi = switch_core_hash_first_iter(pvt->hash, hi))) { void *val = NULL; const void *key; switch_ssize_t keylen;