diff options
Diffstat (limited to 'libgfortran/io/fbuf.c')
-rw-r--r-- | libgfortran/io/fbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/io/fbuf.c b/libgfortran/io/fbuf.c index d79cf15c473..82b3f6ba6c6 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; } |