diff options
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 14 | ||||
-rw-r--r-- | libgfortran/io/list_read.c | 3 |
2 files changed, 12 insertions, 5 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 6dd23590d52..52ad1a91f64 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,9 +1,15 @@ +2005-10-24 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/24416 + * libgfortran/io/list_read.c (namelist_read): Exit with call to + free_saved () so that character strings do not accumulate. + 2005-10-23 Jerry DeLisle <jvdelisle@verizon.net> - PR libgfortran/24489 - * io/transfer.c (read_block): Change the order of execution to not read - past end-of-record. - (read_block_direct): Same change. + PR libgfortran/24489 + * io/transfer.c (read_block): Change the order of execution to not read + past end-of-record. + (read_block_direct): Same change. 2005-10-23 Francois-Xavier Coudert <coudert@clipper.ens.fr> diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index c3510f6ae61..2e1717ab463 100644 --- a/libgfortran/io/list_read.c +++ b/libgfortran/io/list_read.c @@ -2364,13 +2364,14 @@ find_nml_name: } } - + free_saved (); return; /* All namelist error calls return from here */ nml_err_ret: + free_saved (); generate_error (ERROR_READ_VALUE , nml_err_msg); return; } |