# HG changeset patch # User Gerd Moellmann # Date 965503621 0 # Node ID 6e37e9488e49c8559d2dd957fc8c06667cbfb45f # Parent 4ec0adbeda9d786928b1ee3b3e5f88355ccb04aa (current_minor_maps): Use xmalloc instead of malloc. diff -r 4ec0adbeda9d -r 6e37e9488e49 src/keymap.c --- 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; }