]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Bah, it needs the free apparently
authorMark Spencer <markster@digium.com>
Wed, 22 Oct 2003 04:03:15 +0000 (04:03 +0000)
committerMark Spencer <markster@digium.com>
Wed, 22 Oct 2003 04:03:15 +0000 (04:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1653 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cli.c

diff --git a/cli.c b/cli.c
index d577943ea0e87d263b39a9116e36a4b63c492ca0..ae6876fad1c568511d7b5e2721d3c4286590cb7e 100755 (executable)
--- a/cli.c
+++ b/cli.c
@@ -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;