Bah, it needs the free apparently

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-22 04:03:15 +00:00
parent adb1122f72
commit d9d8746b06

1
cli.c
View File

@@ -42,6 +42,7 @@ void ast_cli(int fd, char *fmt, ...)
vasprintf(&stuff, fmt, ap);
va_end(ap);
write(fd, stuff, strlen(stuff));
free(stuff);
}
ast_mutex_t clilock = AST_MUTEX_INITIALIZER;