From 6cab645954c1088f2583f7ab3fd96cb2907bccdc Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 18 Jul 2007 12:29:41 +0000 Subject: [PATCH] Using a freed frame causes crashes (closes issue #9317) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75529 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index d285e7a655..8053196a23 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);