projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee8dd79
)
isl_map_simple_hull: plug memory leak
author
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 22 Jan 2009 14:10:28 +0000
(15:10 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 22 Jan 2009 14:10:28 +0000
(15:10 +0100)
The leak was introduced in
4433b45d31f7f5461ee372a8a4aa2d3a955f96b5
(isl_map_underlying_set: align divs before calling this function).
isl_convex_hull.c
patch
|
blob
|
history
diff --git
a/isl_convex_hull.c
b/isl_convex_hull.c
index
a5d45da
..
7fa1e38
100644
(file)
--- a/
isl_convex_hull.c
+++ b/
isl_convex_hull.c
@@
-1275,7
+1275,7
@@
struct isl_basic_map *isl_map_simple_hull(struct isl_map *map)
bset = isl_basic_set_finalize(bset);
bset = isl_basic_set_convex_hull(bset);
- hull = isl_basic_map_overlying_set(bset,
isl_basic_map_copy(model)
);
+ hull = isl_basic_map_overlying_set(bset,
model
);
isl_set_free(set);
return hull;