Mercurial > emacs
changeset 24431:00398ed56396
(term_init): Use xmalloc, not malloc.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 04 Mar 1999 09:02:51 +0000 |
parents | fa964bcd6d26 |
children | a1cd251f7a70 |
files | src/term.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Thu Mar 04 02:33:26 1999 +0000 +++ b/src/term.c Thu Mar 04 09:02:51 1999 +0000 @@ -1588,7 +1588,7 @@ Wcm_clear (); - area = (char *) malloc (2044); + area = (char *) xmalloc (2044); if (area == 0) abort (); @@ -1648,9 +1648,9 @@ #endif } #ifdef TERMINFO - area = (char *) malloc (2044); + area = (char *) xmalloc (2044); #else - area = (char *) malloc (strlen (buffer)); + area = (char *) xmalloc (strlen (buffer)); #endif /* not TERMINFO */ if (area == 0) abort ();