diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-18 12:29:41 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-18 12:29:41 +0000 |
commit | fc078dc443ac61bc5ccbb7485c74884f80551c9e (patch) | |
tree | b6be123749443b93095896dd37ad0173986daa2a /apps/app_meetme.c | |
parent | fd9478f65399a1e9331ed62ce97f973aa9b8de38 (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/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 2 |
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); |