summaryrefslogtreecommitdiff
path: root/gcc/f/fini.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 04:20:03 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 04:20:03 +0000
commitd0dad2ed07d4c24f796e6b5d9466dfe6c8cee0e9 (patch)
tree9c3fac38ed4b4a8e389d091650ec0193e59385b9 /gcc/f/fini.c
parent0b5df91cc4ab558f8920373c4ec63ed72d28b1f3 (diff)
downloadgcc-d0dad2ed07d4c24f796e6b5d9466dfe6c8cee0e9.tar.gz
* fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &
xcalloc in lieu of malloc, realloc & calloc. * gencheck.c (xmalloc): Use really_call_malloc, not malloc. * gengenrtl.c (xmalloc): Likewise. * gensupport.c (xcalloc, xrealloc, xmalloc): Use the really_call_* memory allocation routines. * stmt.c (check_for_full_enumeration_handling): Use really_call_calloc, not calloc. * system.h (really_call_malloc, really_call_calloc, really_call_realloc): Define. (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison. f: * fini.c (main): Use really_call_malloc, not malloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/fini.c')
-rw-r--r--gcc/f/fini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/f/fini.c b/gcc/f/fini.c
index 0fabf37d924..362c0b627f9 100644
--- a/gcc/f/fini.c
+++ b/gcc/f/fini.c
@@ -367,7 +367,7 @@ main (int argc, char **argv)
/* Make new name object to store name and its keyword. */
- newname = (name) malloc (sizeof (*newname));
+ newname = (name) really_call_malloc (sizeof (*newname));
newname->namelen = strlen (buf);
newname->kwlen = strlen (kwname);
total_length = newname->kwlen + fixlengths;