Fix memory leaks.
commit2eb225d92ffd52cc2f0ead10a231cea2234be56c
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jan 2010 07:48:02 +0000 (6 07:48 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jan 2010 07:48:02 +0000 (6 07:48 +0000)
treef4379b391a3fd872a9ba80396699b542ff645f4b
parent5c87d765c78209c7b7b58efba91e604641d6961d
Fix memory leaks.

2010-01-06  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-clast-to-gimple.c (save_clast_name_index): Free slot
before allocating a new one.
(copy_renames): Check that slot is not NULL.
(mark_bb_with_pbb): Same.
(compute_cloog_iv_types_1): Same.
* graphite-interchange.c (lst_perfect_nestify): Free the before,
nest, and after LSTs.
(lst_try_interchange_loops): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@155670 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-clast-to-gimple.c
gcc/graphite-interchange.c