From 90b993a970f5f7c1b56f0f9ef87eaac43e7494cd Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 15 Sep 2012 10:20:54 +0200 Subject: [PATCH] isl_transitive_closure.c: union_components: avoid invalid access on error path Signed-off-by: Sven Verdoolaege --- isl_transitive_closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_transitive_closure.c b/isl_transitive_closure.c index 99ecbaa..99e76da 100644 --- a/isl_transitive_closure.c +++ b/isl_transitive_closure.c @@ -2768,7 +2768,7 @@ static __isl_give isl_union_map *union_components( int i; int n; isl_ctx *ctx; - isl_basic_map **list; + isl_basic_map **list = NULL; isl_basic_map **next; isl_union_map *path = NULL; struct isl_tc_follows_data data; -- 2.7.4