isl_coalesce.c: wrap_in_facets: avoid invalid access on error path
commit55d6cc1194738a4227eef47441501a3ba73f9249
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 30 May 2016 14:15:39 +0000 (30 16:15 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 2 Jun 2016 14:13:43 +0000 (2 16:13 +0200)
treedb714ffcdc9cf296f494a78a191c257909b4219f
parent5394bff5435c94acb0b4daa53bd169aa2766b1f8
isl_coalesce.c: wrap_in_facets: avoid invalid access on error path

The wraps variable has not yet been initialized at this point and
is freed from the error label.  Simply return instead.
The problem was introduced in 239513e (isl_map_coalesce: optionally bound
the coefficients of wrapping constraints, Wed Apr 11 10:54:37 2012 +0200).

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_coalesce.c