[asterisk-commits] murf: branch 1.4 r140690 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 2 17:40:13 CDT 2008


Author: murf
Date: Tue Sep  2 17:40:13 2008
New Revision: 140690

URL: http://svn.digium.com/view/asterisk?view=rev&rev=140690
Log:
After reconsidering, with respect to 13409, ast_cdr_detach should be OK, better in fact, than ast_cdr_free, which generates lots of useless warnings that will undoubtably generate complaints.

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/channel.c?view=diff&rev=140690&r1=140689&r2=140690
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Tue Sep  2 17:40:13 2008
@@ -1279,7 +1279,7 @@
 	ast_jb_destroy(chan);
 
 	if (chan->cdr) {
-		ast_cdr_free(chan->cdr);
+		ast_cdr_detach(chan->cdr);
 		chan->cdr = NULL;
 	}
 	




More information about the asterisk-commits mailing list