From 2f088dcbe391b999560acb7183a6a1d6ca0000af Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Thu, 25 Jun 2009 21:18:21 +0000 Subject: [PATCH] Merged revisions 203381 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r203381 | twilson | 2009-06-25 16:15:11 -0500 (Thu, 25 Jun 2009) | 11 lines Merged revisions 203380 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r203380 | twilson | 2009-06-25 16:13:10 -0500 (Thu, 25 Jun 2009) | 4 lines I didn't see that Mark already fixed the underlying issue! Yay for removing useless code. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@203387 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/cli.c b/main/cli.c index 56468148cf..58e0cef5a1 100644 --- a/main/cli.c +++ b/main/cli.c @@ -135,8 +135,8 @@ static char *complete_fn(const char *word, int state) c += (strlen(ast_config_AST_MODULE_DIR) + 1); if (c) c = ast_strdup(c); - if (d) - free(d); + + free(d); return c; }