From: Travis Cross Date: Sat, 30 Aug 2014 01:32:57 +0000 (+0000) Subject: Add back goodness refactored out X-Git-Tag: v1.4.8~3^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df559e0aacc8882f1a61da6269678fa5108117c8;p=thirdparty%2Ffreeswitch.git Add back goodness refactored out --- 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;