From 9731fda59f7a63659c1cdee4bf72fdecad1dbc35 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sat, 5 Aug 2000 19:27:01 +0000 Subject: [PATCH] (current_minor_maps): Use xmalloc instead of malloc. --- src/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keymap.c b/src/keymap.c index ec95797e759..d577fb7acbc 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1230,9 +1230,9 @@ current_minor_maps (modeptr, mapptr) 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; } -- 2.39.2