summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kloeckner <inform@tiker.net>2012-05-20 15:11:58 -0400
committerSven Verdoolaege <skimo@kotnet.org>2012-05-20 23:46:23 +0200
commit94baac520a8540685ce327b425de8b9e9e90faad (patch)
treedda551771033cef8b2030bfb8d2254f7e5a43c57
parentc99f7c92c22ffc08f91e09076acaad6cffd7346f (diff)
downloadisl-94baac520a8540685ce327b425de8b9e9e90faad.tar.gz
isl-94baac520a8540685ce327b425de8b9e9e90faad.tar.bz2
isl-94baac520a8540685ce327b425de8b9e9e90faad.zip
Call finalize in isl_basic_map_set_dim_name
Signed-off-by: Andreas Kloeckner <inform@tiker.net> Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
-rw-r--r--isl_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isl_map.c b/isl_map.c
index 3c08c2f4..2c306378 100644
--- a/isl_map.c
+++ b/isl_map.c
@@ -501,7 +501,7 @@ __isl_give isl_basic_map *isl_basic_map_set_dim_name(
bmap->dim = isl_space_set_dim_name(bmap->dim, type, pos, s);
if (!bmap->dim)
goto error;
- return bmap;
+ return isl_basic_map_finalize(bmap);
error:
isl_basic_map_free(bmap);
return NULL;