mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-05 13:51:09 -07:00
Add some more root labels
* src/xterm.c (x_cache_xi_devices, xi_disable_devices): Use igc_xzalloc_ambig_with_label.
This commit is contained in:
parent
0a0ba349c0
commit
f8a34d449c
1 changed files with 9 additions and 3 deletions
12
src/xterm.c
12
src/xterm.c
|
|
@ -5738,7 +5738,10 @@ x_cache_xi_devices (struct x_display_info *dpyinfo)
|
|||
|
||||
#ifdef HAVE_MPS
|
||||
// FIXME/igc: use exact references
|
||||
dpyinfo->devices = igc_xzalloc_ambig (sizeof *dpyinfo->devices * ndevices);
|
||||
dpyinfo->devices
|
||||
= igc_xzalloc_ambig_with_label (sizeof *dpyinfo->devices
|
||||
* ndevices,
|
||||
"xi_device_t[]");
|
||||
#else
|
||||
dpyinfo->devices = xzalloc (sizeof *dpyinfo->devices * ndevices);
|
||||
#endif
|
||||
|
|
@ -13886,7 +13889,9 @@ xi_disable_devices (struct x_display_info *dpyinfo,
|
|||
ndevices = 0;
|
||||
#ifdef HAVE_MPS
|
||||
// FIXME/igc: use exact references
|
||||
devices = igc_xzalloc_ambig (sizeof *devices * dpyinfo->num_devices);
|
||||
devices = igc_xzalloc_ambig_with_label (sizeof *devices
|
||||
* dpyinfo->num_devices,
|
||||
"xi_device_t[]");
|
||||
#else
|
||||
devices = xzalloc (sizeof *devices * dpyinfo->num_devices);
|
||||
#endif
|
||||
|
|
@ -30800,7 +30805,8 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
|
|||
|
||||
#ifdef HAVE_MPS
|
||||
// FIXME/igc: use exact references
|
||||
dpyinfo = igc_xzalloc_ambig (sizeof *dpyinfo);
|
||||
dpyinfo = igc_xzalloc_ambig_with_label (sizeof *dpyinfo,
|
||||
"x_display_info");
|
||||
#else
|
||||
dpyinfo = xzalloc (sizeof *dpyinfo);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue