diff --git a/main/config.c b/main/config.c index f2b738c692..b1aa9e56fe 100644 --- a/main/config.c +++ b/main/config.c @@ -222,7 +222,7 @@ void ast_variables_destroy(struct ast_variable *v) v = v->next; ast_destroy_comment(&vn->precomments); ast_destroy_comment(&vn->sameline); - free(vn); + ast_free(vn); } }