mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-02 20:08:09 +02:00
null pointer check
This commit is contained in:
parent
0901935762
commit
40be575058
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ static void DarwinReleaseModifiers(void) {
|
|||
xEvent ke;
|
||||
int i = 0, j = 0, nevents = 0;
|
||||
|
||||
if (!darwinKeyc) return;
|
||||
map = darwinKeyc->curKeySyms.map;
|
||||
|
||||
for (i = darwinKeyc->curKeySyms.minKeyCode, map = darwinKeyc->curKeySyms.map;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue