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: [patch, libfortran] PR40508 Memory Leak


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


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