Commit 4a3629a5 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix bad XMALLOC call

[r22675]
parent 46d5d1c6
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment