This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto][patch] Remove lto_file and lto_elf_file from unnecessary GC management


On Wed, Aug 20, 2008 at 01:11, Bill Maddox <maddox@google.com> wrote:

> @@ -625,6 +625,8 @@ lto_elf_file_close (lto_file *file)
>      }
>
>    lto_file_close (file);
> +
> +  free (file);

This should go in lto_file_close() or, better yet, we can just get rid
of lto_file_close() altogether.  It's empty now.

Patch is OK with that change and a ChangeLog entry.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]