diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-25 21:18:21 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-25 21:18:21 +0000 |
commit | afa85c9d5b45dea0e3adbab5a6dfc9102a77e093 (patch) | |
tree | 928c1a7012a103202908b103dccc5ef4f6475ad0 /main/cli.c | |
parent | 471fd01c4a483109cece06327cc364f70a55d2d4 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@203387 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/cli.c b/main/cli.c index 56468148c..58e0cef5a 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; } |