From: Matthias Braun Date: Sat, 11 Oct 2008 15:10:23 +0000 (+0000) Subject: fix bad XMALLOC call X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=4a3629a5fa85968836c67bd4f6cdd10c5da593c3;p=libfirm fix bad XMALLOC call [r22675] --- diff --git a/ir/be/becopyheur3.c b/ir/be/becopyheur3.c index 7d490e127..33b75fbb3 100644 --- a/ir/be/becopyheur3.c +++ b/ir/be/becopyheur3.c @@ -150,8 +150,8 @@ int co_solve_heuristic_java(copy_opt_t *co) } } - node_map = XMALLOC(int, get_irg_last_idx(co->irg) + 1); - inv_node_map = XMALLOC(int, get_irg_last_idx(co->irg) + 1); + node_map = XMALLOCN(int, get_irg_last_idx(co->irg) + 1); + inv_node_map = XMALLOCN(int, get_irg_last_idx(co->irg) + 1); curr_idx = 0; be_ifg_foreach_node(ifg, nodes_it, n) {