X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessadestr.c;h=3bcc30082a4e874ab3a56ec52dd24adaaac4d61b;hb=afbbc0b1ccd684c4c24bfd43d0f994123245f39f;hp=77cf75c534798797a7ad045bf55f66f3d88aa559;hpb=cf9c1673146d1f45d46ceb77eccfaf10fedff25d;p=libfirm diff --git a/ir/be/bessadestr.c b/ir/be/bessadestr.c index 77cf75c53..3bcc30082 100644 --- a/ir/be/bessadestr.c +++ b/ir/be/bessadestr.c @@ -167,7 +167,7 @@ static void insert_all_perms_walker(ir_node *bl, void *data) { * Create a new Perm with the arguments just collected * above in the arg_set and insert it into the schedule. */ - in = xmalloc(n_projs * sizeof(in[0])); + in = XMALLOCN(ir_node*, n_projs); for(pp = set_first(arg_set); pp; pp = set_next(arg_set)) in[pp->pos] = pp->arg;