diff options
| author | Richard M. Stallman | 1994-06-14 19:48:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-14 19:48:19 +0000 |
| commit | 716acfce8581c74b8d5e68071d34f2bc96370f45 (patch) | |
| tree | b1f3d19356c35df116d61bb53217bff1cf3a6e1d /src/eval.c | |
| parent | d33a00f21207fc1b42e4ce7fc46b76eaf7a7e6c2 (diff) | |
| download | emacs-716acfce8581c74b8d5e68071d34f2bc96370f45.tar.gz emacs-716acfce8581c74b8d5e68071d34f2bc96370f45.zip | |
(init_eval_once): Call xmalloc, not malloc.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index ddea482515f..6e2cbaa651b 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -149,7 +149,7 @@ extern Lisp_Object ml_apply (); /* Apply a mocklisp function to unevaluated argu | |||
| 149 | init_eval_once () | 149 | init_eval_once () |
| 150 | { | 150 | { |
| 151 | specpdl_size = 50; | 151 | specpdl_size = 50; |
| 152 | specpdl = (struct specbinding *) malloc (specpdl_size * sizeof (struct specbinding)); | 152 | specpdl = (struct specbinding *) xmalloc (specpdl_size * sizeof (struct specbinding)); |
| 153 | max_specpdl_size = 600; | 153 | max_specpdl_size = 600; |
| 154 | max_lisp_eval_depth = 200; | 154 | max_lisp_eval_depth = 200; |
| 155 | } | 155 | } |