From 4a3629a5fa85968836c67bd4f6cdd10c5da593c3 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 11 Oct 2008 15:10:23 +0000 Subject: [PATCH] fix bad XMALLOC call [r22675] --- ir/be/becopyheur3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.20.1