Use ast_free since ast_variable_new uses ast_calloc

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@283834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2010-08-27 15:11:11 +00:00
parent c26e47f289
commit a0e2fe78a8
+1 -1
View File
@@ -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);
}
}