From 0f2bcccaba3ab3a58bb07e144eb3b0932ef8fb38 Mon Sep 17 00:00:00 2001 From: James Golovich <james@gnuinter.net> Date: Thu, 8 Apr 2004 05:28:53 +0000 Subject: [PATCH] Free some cli memory git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2660 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- cli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.c b/cli.c index b29ddeb9a6..80bcd73a62 100755 --- a/cli.c +++ b/cli.c @@ -983,6 +983,7 @@ static char *__ast_cli_generator(char *text, char *word, int state, int lock) fullcmd = e->generator(text, word, (strlen(word) ? (x - 1) : (x)), state); if (lock) ast_mutex_unlock(&clilock); + free(dup); return fullcmd; } -- GitLab