X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeifg.c;h=4ab30247844059757354cb883f37ecf1426fce16;hb=6e3e499d6c68aee0c6a9ada6a99f16c4f6f8445b;hp=7f9a897380c16e0b6742502f0148e5a4097428ff;hpb=b98e0f41a5da00b8fcf15fa889f03ff9d53ba1dd;p=libfirm diff --git a/ir/be/beifg.c b/ir/be/beifg.c index 7f9a89738..4ab302478 100644 --- a/ir/be/beifg.c +++ b/ir/be/beifg.c @@ -121,7 +121,7 @@ int be_ifg_is_simplicial(const be_ifg_t *ifg, const ir_node *irn) int degree = be_ifg_degree(ifg, irn); void *iter = be_ifg_neighbours_iter_alloca(ifg); - ir_node **neighbours = malloc(degree * sizeof(neighbours[0])); + ir_node **neighbours = xmalloc(degree * sizeof(neighbours[0])); ir_node *curr; int i, j;