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: http://svn.digium.com/svn/asterisk/trunk@75530 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
83c356e0a7
commit
fb112da853
|
@ -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);
|
||||
|
|
Reference in New Issue