mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-12 10:44:12 -08:00
(x_catch_errors): Use xmalloc.
This commit is contained in:
parent
8a169494f0
commit
5eeafdc912
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue