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
1.4
Terry Wilson 15 years ago
parent c26e47f289
commit a0e2fe78a8

@ -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);
}
}

Loading…
Cancel
Save