From cab4b6d0ca746a3ab3308a0ab6157fef9c0343fe Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 11 Apr 2014 15:27:57 +0200 Subject: [PATCH] pet_stmt_from_pet_tree: avoid free of uninitialized variable on error path label used to be a parameter, but was changed to a(n uninitialized) local variable in 558bb5a (replace pet_stmt_from_pet_expr by pet_stmt_from_pet_tree, Mon Jan 27 16:35:47 2014 +0100). Signed-off-by: Sven Verdoolaege --- scop.c | 1 - 1 file changed, 1 deletion(-) diff --git a/scop.c b/scop.c index 3c2cf47..5fc4d2a 100644 --- a/scop.c +++ b/scop.c @@ -126,7 +126,6 @@ struct pet_stmt *pet_stmt_from_pet_tree(__isl_take isl_set *domain, return stmt; error: isl_set_free(domain); - isl_id_free(label); pet_tree_free(tree); return NULL; } -- 2.11.4.GIT