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:
59fc00d
)
isl_vertices.c: vertices_from_list: plug memory leak on error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 1 Dec 2012 09:40:49 +0000
(10:40 +0100)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 1 Dec 2012 16:38:08 +0000
(17:38 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_vertices.c
patch
|
blob
|
history
diff --git
a/isl_vertices.c
b/isl_vertices.c
index
68d05a2
..
efd534b
100644
(file)
--- a/
isl_vertices.c
+++ b/
isl_vertices.c
@@
-101,7
+101,7
@@
static __isl_give isl_vertices *vertices_from_list(__isl_keep isl_basic_set *bse
return vertices;
error:
- free(vertices);
+
isl_vertices_
free(vertices);
free_vertex_list(list);
return NULL;
}