mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix crash when the same XI device appears in multiple hierarchy events
* src/xterm.c (xi_disable_devices): Move `out' label into the outermost loop. (bug#79343)
This commit is contained in:
parent
d314971e04
commit
446c037d57
1 changed files with 5 additions and 5 deletions
10
src/xterm.c
10
src/xterm.c
|
|
@ -13945,12 +13945,12 @@ xi_disable_devices (struct x_display_info *dpyinfo,
|
|||
|
||||
goto out;
|
||||
}
|
||||
|
||||
devices[ndevices++] = dpyinfo->devices[i];
|
||||
|
||||
out:
|
||||
continue;
|
||||
}
|
||||
|
||||
devices[ndevices++] = dpyinfo->devices[i];
|
||||
|
||||
out:
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Free the old devices array and replace it with ndevices. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue