From: Jean Galarneau Date: Thu, 29 Jul 2010 15:52:31 +0000 (+0000) Subject: Fix a dsp structure leak occuring when a local channel is put into a meetme X-Git-Tag: 1.4.36-rc1~3^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf0d36226d626f2efb221b999c5f84268d907c26;p=thirdparty%2Fasterisk.git Fix a dsp structure leak occuring when a local channel is put into a meetme conference, then masquaraded away. ABE-2422 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@280341 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 132f31d2ff..111977beb5 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1914,6 +1914,9 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c conf_flush(fd, chan); + if (dsp) + ast_dsp_free(dsp); + if (!(dsp = ast_dsp_new())) { ast_log(LOG_WARNING, "Unable to allocate DSP!\n"); res = -1;