[Asterisk-cvs] asterisk cli.c,1.11,1.12

markster at lists.digium.com markster at lists.digium.com
Tue Oct 21 22:37:13 CDT 2003


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

Modified Files:
	cli.c 
Log Message:
Bah, it needs the free apparently


Index: cli.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cli.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cli.c	22 Oct 2003 03:52:56 -0000	1.11
+++ cli.c	22 Oct 2003 04:03:15 -0000	1.12
@@ -42,6 +42,7 @@
 	vasprintf(&stuff, fmt, ap);
 	va_end(ap);
 	write(fd, stuff, strlen(stuff));
+	free(stuff);
 }
 
 ast_mutex_t clilock = AST_MUTEX_INITIALIZER;




More information about the svn-commits mailing list