aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/fbuf.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2010-05-07 18:55:59 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2010-05-07 18:55:59 +0300
commitbb408e876c536829cc57439df8e4a28c43e68456 (patch)
treebbdaaba9870daa7c26073e634bce50437a73cd07 /libgfortran/io/fbuf.c
parent5cd0e96b0e8248436fa6f743feb057114abd2f62 (diff)
downloadgcc-bb408e876c536829cc57439df8e4a28c43e68456.zip
gcc-bb408e876c536829cc57439df8e4a28c43e68456.tar.gz
gcc-bb408e876c536829cc57439df8e4a28c43e68456.tar.bz2
Remove free_mem
From-SVN: r159160
Diffstat (limited to 'libgfortran/io/fbuf.c')
-rw-r--r--libgfortran/io/fbuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/io/fbuf.c b/libgfortran/io/fbuf.c
index d79cf15..82b3f6b 100644
--- a/libgfortran/io/fbuf.c
+++ b/libgfortran/io/fbuf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
Contributed by Janne Blomqvist
This file is part of the GNU Fortran runtime library (libgfortran).
@@ -52,8 +52,8 @@ fbuf_destroy (gfc_unit * u)
if (u->fbuf == NULL)
return;
if (u->fbuf->buf)
- free_mem (u->fbuf->buf);
- free_mem (u->fbuf);
+ free (u->fbuf->buf);
+ free (u->fbuf);
u->fbuf = NULL;
}