Commit 9731fda5 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(current_minor_maps): Use xmalloc instead of malloc.

parent 7f77dbe3
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment