cli.c: Fix tab completion of "module load" when MALLOC_DEBUG is enabled.
[asterisk/asterisk.git] / main / cli.c
index b7e5c15..7aa5022 100644 (file)
@@ -239,7 +239,7 @@ static char *complete_fn(const char *word, int state)
        if (c)
                c = ast_strdup(c);
 
-       free(d);
+       ast_std_free(d);
 
        return c;
 }