aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/unix.c
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 /libgfortran/io/unix.c
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 'libgfortran/io/unix.c')
-rw-r--r--libgfortran/io/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c
index ef35b85..d466df9 100644
--- a/libgfortran/io/unix.c
+++ b/libgfortran/io/unix.c
@@ -1028,7 +1028,7 @@ mem_flush (unix_stream *s __attribute__ ((unused)))
static int
mem_close (unix_stream *s)
{
- free(s);
+ free (s);
return 0;
}