From: Gerd Moellmann Date: Sat, 5 Aug 2000 19:27:01 +0000 (+0000) Subject: (current_minor_maps): Use xmalloc instead of malloc. X-Git-Tag: emacs-pretest-21.0.90~2480 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9731fda59f7a63659c1cdee4bf72fdecad1dbc35;p=emacs.git (current_minor_maps): Use xmalloc instead of malloc. --- 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; }