diff options
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r-- | libgfortran/runtime/error.c | 4 | ||||
-rw-r--r-- | libgfortran/runtime/memory.c | 11 |
2 files changed, 4 insertions, 11 deletions
diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c index 2c4b6a6b11d..65983ad4cb5 100644 --- a/libgfortran/runtime/error.c +++ b/libgfortran/runtime/error.c @@ -2,7 +2,7 @@ Free Software Foundation, Inc. Contributed by Andy Vaught -This file is part of the GNU Fortran 95 runtime library (libgfortran). +This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -159,7 +159,7 @@ show_locus (st_parameter_common *cmp) { st_printf ("At line %d of file %s (unit = %d, file = '%s')\n", (int) cmp->line, cmp->filename, (int) cmp->unit, filename); - free_mem (filename); + free (filename); } else { diff --git a/libgfortran/runtime/memory.c b/libgfortran/runtime/memory.c index d1b57f690d7..5f710849e52 100644 --- a/libgfortran/runtime/memory.c +++ b/libgfortran/runtime/memory.c @@ -1,8 +1,8 @@ /* Memory management routines. - Copyright 2002, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. + Copyright 2002, 2005, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> -This file is part of the GNU Fortran 95 runtime library (libgfortran). +This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU General Public @@ -49,13 +49,6 @@ get_mem (size_t n) } -void -free_mem (void *p) -{ - free (p); -} - - /* Allocate memory for internal (compiler generated) use. */ void * |