changeset 30609:6e37e9488e49

(current_minor_maps): Use xmalloc instead of malloc.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 05 Aug 2000 19:27:01 +0000
parents 4ec0adbeda9d
children 5a0f2d368f58
files src/keymap.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Sat Aug 05 19:26:46 2000 +0000
+++ b/src/keymap.c	Sat Aug 05 19:27:01 2000 +0000
@@ -1230,9 +1230,9 @@
 		  BLOCK_INPUT;
 		  cmm_size = 30;
 		  newmodes
-		    = (Lisp_Object *) malloc (cmm_size * sizeof (Lisp_Object));
+		    = (Lisp_Object *) xmalloc (cmm_size * sizeof (Lisp_Object));
 		  newmaps
-		    = (Lisp_Object *) malloc (cmm_size * sizeof (Lisp_Object));
+		    = (Lisp_Object *) xmalloc (cmm_size * sizeof (Lisp_Object));
 		  UNBLOCK_INPUT;
 		}