This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21096] copy-prop leaks memory
- From: "dnovillo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Apr 2005 22:21:16 -0000
- Subject: [Bug tree-optimization/21096] copy-prop leaks memory
- References: <20050418221211.21096.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dnovillo at redhat dot com 2005-04-18 22:21 -------
Subject: Re: New: copy-prop leaks memory
On Mon, Apr 18, 2005 at 10:12:12PM -0000, kazu at cs dot umass dot edu wrote:
> tree-ssa-copy.c:844
>
> cached_last_copy_of = xmalloc (...)
>
> does not have a corresponding free.
>
Yeah. Obvious patch pre-approved.
Diego.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21096