Merged revisions 141156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r141156 | murf | 2008-09-05 08:15:43 -0600 (Fri, 05 Sep 2008) | 1 line A small change to prevent double-posting of CDR's; thanks to Daniel Ferrer for bringing it to our attention ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@141157 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
98ba3dd3c0
commit
acf1a1787e
1 changed files with 1 additions and 1 deletions
|
@ -1362,7 +1362,7 @@ void ast_channel_free(struct ast_channel *chan)
|
|||
ast_jb_destroy(chan);
|
||||
|
||||
if (chan->cdr) {
|
||||
ast_cdr_detach(chan->cdr);
|
||||
ast_cdr_discard(chan->cdr);
|
||||
chan->cdr = NULL;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue