(init_objc): Use xrealoc, not realloc.

From-SVN: r3419
This commit is contained in:
Richard Stallman 1993-02-03 23:23:22 +00:00
parent b82a0ad986
commit f79322f009

View File

@ -4929,14 +4929,14 @@ init_objc ()
util_firstobj = (char *) obstack_finish (&util_obstack);
tree_code_type
= (char **) realloc (tree_code_type,
sizeof (char *) * LAST_OBJC_TREE_CODE);
= (char **) xrealloc (tree_code_type,
sizeof (char *) * LAST_OBJC_TREE_CODE);
tree_code_length
= (int *) realloc (tree_code_length,
sizeof (int) * LAST_OBJC_TREE_CODE);
= (int *) xrealloc (tree_code_length,
sizeof (int) * LAST_OBJC_TREE_CODE);
tree_code_name
= (char **) realloc (tree_code_name,
sizeof (char *) * LAST_OBJC_TREE_CODE);
= (char **) xrealloc (tree_code_name,
sizeof (char *) * LAST_OBJC_TREE_CODE);
bcopy (objc_tree_code_type,
tree_code_type + (int) LAST_AND_UNUSED_TREE_CODE,
(((int) LAST_OBJC_TREE_CODE - (int) LAST_AND_UNUSED_TREE_CODE)