projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb58dc
)
Fix multiple free of a frame (bug #6058)
author
Mark Spencer
<markster@digium.com>
Sun, 25 Dec 2005 01:27:47 +0000
(
01:27
+0000)
committer
Mark Spencer
<markster@digium.com>
Sun, 25 Dec 2005 01:27:47 +0000
(
01:27
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7620
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_meetme.c
patch
|
blob
|
history
diff --git
a/apps/app_meetme.c
b/apps/app_meetme.c
index
45b42ef
..
7e060d1
100644
(file)
--- a/
apps/app_meetme.c
+++ b/
apps/app_meetme.c
@@
-2264,10
+2264,10
@@
static void *recordthread(void *args)
ast_frfree(cnf->transframe[x]);
cnf->transframe[x] = NULL;
}
- if (cnf->origframe)
- ast_frfree(cnf->origframe);
- cnf->origframe = f;
}
+ if (cnf->origframe)
+ ast_frfree(cnf->origframe);
+ cnf->origframe = f;
ast_mutex_unlock(&cnf->listenlock);
if (s)
res = ast_writestream(s, f);