aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeang <jeang@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-29 15:52:31 +0000
committerjeang <jeang@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-29 15:52:31 +0000
commit2b9e4a6b7336b974885dbaf1e2311149a6190618 (patch)
tree1370b814d735f162818af441df4b09c8e6c6e7f9
parent5d88cc94ab6ae4a56933ffae7f9de817370a6355 (diff)
Fix a dsp structure leak occuring when a local channel is put into a meetme
conference, then masquaraded away. ABE-2422 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@280341 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_meetme.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 132f31d2f..111977beb 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;