isl_map.c: map_intersect_internal: properly plug memory leak on error path
commitf0fd42f743b7be56d7d8b616ca2f17d5efae315a
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 2 Dec 2012 09:57:46 +0000 (2 10:57 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 2 Dec 2012 11:23:44 +0000 (2 12:23 +0100)
tree79fe81f802b0212cdb8e6db95f9307c61cde8923
parentacc5df2f96fc0c04495cd237f0b5b5eb8822ed85
isl_map.c: map_intersect_internal: properly plug memory leak on error path

The proposed fix in f85421c (isl_map.c: map_intersect_internal: plug memory
leak on error path, Fri Nov 30 18:10:08 2012 +0100) would only free "result",
but not "part".  Revert that commit and make sure both are freed.

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