re PR tree-optimization/21096 (copy-prop leaks memory)

PR tree-optimization/21096
	* tree-ssa-copy.c (fini_copy_prop): Free cached_last_copy_of.

From-SVN: r98405
This commit is contained in:
Kazu Hirata 2005-04-19 11:43:24 +00:00 committed by Kazu Hirata
parent 9092932bf8
commit c5f083efc5
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-04-19 Kazu Hirata <kazu@cs.umass.edu>
PR tree-optimization/21096
* tree-ssa-copy.c (fini_copy_prop): Free cached_last_copy_of.
2005-04-19 Alan Modra <amodra@bigpond.net.au>
PR target/21098

View File

@ -901,6 +901,7 @@ fini_copy_prop (void)
substitute_and_fold (copy_of);
free (cached_last_copy_of);
free (copy_of);
}