OSDN Git Service

Fix memory leaks.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jan 2010 18:32:51 +0000 (18:32 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jan 2010 18:32:51 +0000 (18:32 +0000)
commitcfd3faacbfa0ba6b08d75b41f7f876961f70337b
tree6e8b7af7a18c1c655884e15f7890e21a3bb5fd4c
parenta1a6700b7a5a1b5911805b0e420628e45e762713
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/trunk@155702 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-clast-to-gimple.c
gcc/graphite-interchange.c