[Asterisk-cvs] asterisk/apps app_cdr.c,1.3,1.4

markster at lists.digium.com markster at lists.digium.com
Tue Oct 21 21:27:38 CDT 2003


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv1490/apps

Modified Files:
	app_cdr.c 
Log Message:
Fix compile warnings (bug #389)


Index: app_cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_cdr.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_cdr.c	29 Sep 2003 20:13:54 -0000	1.3
+++ app_cdr.c	22 Oct 2003 02:53:39 -0000	1.4
@@ -31,7 +31,7 @@
 static int nocdr_exec(struct ast_channel *chan, void *data)
 {
 	if (chan->cdr) {
-		free(chan->cdr);
+		ast_cdr_free(chan->cdr);
 		chan->cdr = NULL;
 	}
 	return 0;




More information about the svn-commits mailing list