aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-18 12:29:41 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-18 12:29:41 +0000
commitfc078dc443ac61bc5ccbb7485c74884f80551c9e (patch)
treeb6be123749443b93095896dd37ad0173986daa2a /apps
parentfd9478f65399a1e9331ed62ce97f973aa9b8de38 (diff)
Using a freed frame causes crashes (closes issue #9317)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75529 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index d285e7a65..8053196a2 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -3019,7 +3019,7 @@ static void *recordthread(void *args)
}
if (cnf->origframe)
ast_frfree(cnf->origframe);
- cnf->origframe = f;
+ cnf->origframe = ast_frdup(f);
ast_mutex_unlock(&cnf->listenlock);
if (s)
res = ast_writestream(s, f);