summaryrefslogtreecommitdiff
path: root/codecs
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2013-10-24 17:00:27 +0000
committerJonathan Rose <jrose@digium.com>2013-10-24 17:00:27 +0000
commit4ca0f222e85554e24d5cfb7d48b3a774d96a6e45 (patch)
tree411b1a8a88241acde89163243e464edce21486d4 /codecs
parentbeb5cdbef54908cc1564539f9cfb8852b530f2bc (diff)
memory leaks: Memory leak cleanup patch by Corey Farrell (second set)
Also covers ast_app_parse_timelen-fail-zero-length.patch, but the patch was replaced with one of my own. (issue ASTERISK-22467) Reported by: Corey Farrell Patches: chan_dahdi-cleanup_push.patch uploaded by coreyfarrell (license 5909) clicompat-r2.patch uploaded by coreyfarrell (license 5909) codecs-ilbc-doCPLC.patch uploaded by coreyfarrell (license 5909) data-cleanup-test-registration.patch uploaded by coreyfarrell (license 5909) main-asterisk-kill-listener.patch uploaded by coreyfarrell (license 5909) ........ Merged revisions 401704 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 401705 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 401706 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs')
-rw-r--r--codecs/ilbc/doCPLC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/ilbc/doCPLC.c b/codecs/ilbc/doCPLC.c
index adbfac71a..9fa4584fe 100644
--- a/codecs/ilbc/doCPLC.c
+++ b/codecs/ilbc/doCPLC.c
@@ -90,7 +90,7 @@
int lag=20, randlag;
float gain, maxcc;
float use_gain;
- float gain_comp, maxcc_comp, per, max_per;
+ float gain_comp, maxcc_comp, per, max_per=0;
int i, pick, use_lag;
float ftmp, randvec[BLOCKL_MAX], pitchfact, energy;