diff options
Diffstat (limited to 'libgfortran/io/transfer.c')
-rw-r--r-- | libgfortran/io/transfer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c index 298b29e..5296370 100644 --- a/libgfortran/io/transfer.c +++ b/libgfortran/io/transfer.c @@ -4080,8 +4080,7 @@ st_read_done (st_parameter_dt *dtp) free_ionml (dtp); /* If this is a parent READ statement we do not need to retain the - internal unit structure for child use. Free it and stash the unit - number for reuse. */ + internal unit structure for child use. */ if (dtp->u.p.current_unit != NULL && dtp->u.p.current_unit->child_dtio == 0) { @@ -4095,7 +4094,6 @@ st_read_done (st_parameter_dt *dtp) if (dtp->u.p.current_unit->ls) free (dtp->u.p.current_unit->ls); dtp->u.p.current_unit->ls = NULL; - stash_internal_unit (dtp); } if (is_internal_unit (dtp) || dtp->u.p.format_not_saved) { @@ -4153,8 +4151,7 @@ st_write_done (st_parameter_dt *dtp) free_ionml (dtp); /* If this is a parent WRITE statement we do not need to retain the - internal unit structure for child use. Free it and stash the - unit number for reuse. */ + internal unit structure for child use. */ if (is_internal_unit (dtp) && (dtp->common.flags & IOPARM_DT_HAS_UDTIO) == 0) { @@ -4165,7 +4162,6 @@ st_write_done (st_parameter_dt *dtp) if (dtp->u.p.current_unit->ls) free (dtp->u.p.current_unit->ls); dtp->u.p.current_unit->ls = NULL; - stash_internal_unit (dtp); } if (is_internal_unit (dtp) || dtp->u.p.format_not_saved) { |