diff --git a/main/cli.c b/main/cli.c index 1fed5282e4..e1cb3b0ecb 100644 --- a/main/cli.c +++ b/main/cli.c @@ -227,7 +227,7 @@ static char *complete_fn(const char *word, int state) if (c) c = ast_strdup(c); - free(d); + ast_std_free(d); return c; }