aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>2023-05-08 09:45:19 +0200
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>2023-05-08 10:46:47 +0200
commitc93bde224c075c14d5ee54331386cbcda48c65dd (patch)
tree09ed17fe71ee7a9bcca106e0cc67bb0b9bef9b4b /gcc
parent6d6c17e45f62cfe0b7de502af299348fca548b01 (diff)
downloadgcc-c93bde224c075c14d5ee54331386cbcda48c65dd.zip
gcc-c93bde224c075c14d5ee54331386cbcda48c65dd.tar.gz
gcc-c93bde224c075c14d5ee54331386cbcda48c65dd.tar.bz2
fortran: Fix coding style around free()
Fix coding-style errors introduced in ca2f64d5d08c1699ca4b7cb2bf6a76692e809e0f gcc/fortran/ChangeLog: * resolve.cc (resolve_select_type): Fix coding style. libgfortran/ChangeLog: * caf/single.c (_gfortran_caf_register): Fix coding style. * io/async.c (update_pdt, async_io): Likewise. * io/format.c (free_format_data): Likewise. * io/transfer.c (st_read_done_worker, st_write_done_worker): Likewise. * io/unix.c (mem_close): Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/resolve.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc
index 3a09de1..58f05a3 100644
--- a/gcc/fortran/resolve.cc
+++ b/gcc/fortran/resolve.cc
@@ -9931,7 +9931,7 @@ resolve_select_type (gfc_code *code, gfc_namespace *old_ns)
gfc_resolve_blocks (code->block, gfc_current_ns);
gfc_current_ns = old_ns;
- free(ref);
+ free (ref);
}