changeset 69027:b8d7bffaf333

(x_catch_errors): Use xmalloc.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Feb 2006 01:18:43 +0000
parents e9728e256a07
children 9121701fb79d
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Feb 20 01:15:42 2006 +0000
+++ b/src/xterm.c	Mon Feb 20 01:18:43 2006 +0000
@@ -7513,7 +7513,7 @@
      Display *dpy;
 {
   int count = SPECPDL_INDEX ();
-  struct x_error_message_stack *data = malloc (sizeof (*data));
+  struct x_error_message_stack *data = xmalloc (sizeof (*data));
   Lisp_Object dummy;
 #ifdef ENABLE_CHECKING
   dummy = make_number ((EMACS_INT)dpy + (EMACS_INT)x_error_message);