This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, libfortran] PR40508 Memory Leak
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 21 Jun 2009 22:32:01 +0200
- Subject: Re: [patch, libfortran] PR40508 Memory Leak
- References: <4A3E92CE.3030808@verizon.net>
On Sun, Jun 21, 2009 at 10:06 PM, Jerry DeLisle<jvdelisle@verizon.net> wrote:
> Index: format.c
> ===================================================================
> --- format.c ? ?(revision 148448)
> +++ format.c ? ?(working copy)
> @@ -1218,7 +1218,8 @@ parse_format (st_parameter_dt *dtp)
> ? ? ? free_format_hash_table (dtp->u.p.current_unit);
> ? ? ? return;
> ? ? }
> - ?save_parsed_format (dtp);
> + ?if (!is_internal_unit (dtp))
> + ? ?save_parsed_format (dtp);
> ?}
>
Maybe add a comment and a reference to the PR?
Ciao!
Steven