diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-25 21:13:10 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-25 21:13:10 +0000 |
commit | 63e5bb01326a4efebeb674ebeabda247f8ab5ed9 (patch) | |
tree | 6021924fa41b92e09b921f3764f29857a7249851 /main/cli.c | |
parent | e960ccb3b81669362fef754267b08fc76d0b35db (diff) |
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.4@203380 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/main/cli.c b/main/cli.c index d633f9cb6..fe39334c1 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1289,9 +1289,8 @@ static char *complete_fn_3(const char *line, const char *word, int pos, int stat c += (strlen(ast_config_AST_MODULE_DIR) + 1); if (c) c = strdup(c); - if (d) { - free(d); - } + + free(d); return c; } |