From: Raymond Chandler Date: Wed, 26 Mar 2014 03:31:16 +0000 (-0400) Subject: seg-- X-Git-Tag: v1.5.12~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cccc6270b4f334b045e235209ec84cbf05e873c;p=thirdparty%2Ffreeswitch.git seg-- --- diff --git a/src/mod/applications/mod_translate/mod_translate.c b/src/mod/applications/mod_translate/mod_translate.c index 58a5061f0c..78cf990ba8 100644 --- a/src/mod/applications/mod_translate/mod_translate.c +++ b/src/mod/applications/mod_translate/mod_translate.c @@ -179,7 +179,7 @@ static void do_unload(void) { switch_core_hash_this(hi, &key, &keylen, &val); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "deleting translate profile [%s]\n", (char *) key); - for (rl = nrl = val; rl;) { + for (nrl = val; rl;) { rl = nrl; nrl = nrl->next; switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "deleting rule for [%s]\n", rl->regex);