Fix Graphite memory leaks.
commit601849170059d63e5b0f02524664ab3e59be8824
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Sep 2010 15:53:39 +0000 (23 15:53 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Sep 2010 15:53:39 +0000 (23 15:53 +0000)
treec3390f2f73237a6e29f6466eed88dc40577c22aa
parente24b180ea0c2c7726a75540955a5b883cab80ef6
Fix Graphite memory leaks.

2010-09-23  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-clast-to-gimple.c (compute_bounds_for_level): Free le
and ps.
* graphite-poly.c (pbb_number_of_iterations_at_time): Free le and
domain.
* graphite-sese-to-poly.c (add_upper_bounds_from_estimated_nit):
Do not allocate ub_expr, it is passed in initialized.

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