From d1761f5ecefabce588a7db95e8e8f8ce76498480 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 6 Jun 2006 12:07:45 +0000 Subject: [PATCH] use xmalloc instead of malloc --- ir/be/becopyheur2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/becopyheur2.c b/ir/be/becopyheur2.c index b6e58c0a4..e7fbd6327 100644 --- a/ir/be/becopyheur2.c +++ b/ir/be/becopyheur2.c @@ -859,7 +859,7 @@ static void process_cloud(co2_cloud_t *cloud) co2_t *env = cloud->env; int n_regs = env->n_regs; int n_edges = 0; - int *mst_edges = malloc(cloud->n_memb * cloud->n_memb * sizeof(mst_edges[0])); + int *mst_edges = xmalloc(cloud->n_memb * cloud->n_memb * sizeof(mst_edges[0])); pdeq *q; struct list_head changed; -- 2.20.1