From: Richard M. Stallman Date: Mon, 20 Feb 2006 01:18:43 +0000 (+0000) Subject: (x_catch_errors): Use xmalloc. X-Git-Tag: emacs-pretest-22.0.90~4011 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5eeafdc912bb0893b6b59be970edfd15afe7d10d;p=emacs.git (x_catch_errors): Use xmalloc. --- diff --git a/src/xterm.c b/src/xterm.c index c1a7e95d1f0..ec5f657ab31 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7513,7 +7513,7 @@ x_catch_errors (dpy) 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);