summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-07-18 12:38:36 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-07-18 12:38:36 +0000
commit2c5a07bf036efcbc2a5a038622fe40f7df574fe5 (patch)
tree6176bc16ae85fb7779441d6bdd89103f435cf82b /apps
parent8b0b74c9b08ea437c3b255fee7b7a730a31b4fd8 (diff)
Merged revisions 75529 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r75529 | tilghman | 2007-07-18 07:29:41 -0500 (Wed, 18 Jul 2007) | 2 lines Using a freed frame causes crashes (closes issue #9317) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 c91570fba..70d00cbc2 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -3115,7 +3115,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);