diff options
author | David Reveman <davidr@novell.com> | 2008-11-18 18:20:55 -0500 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2008-11-18 18:20:55 -0500 |
commit | 0a4fa666b5f264769858cf12ecec4f1f4978020d (patch) | |
tree | e0b200420ff4d29ad9c1242b2100e181b54419c9 | |
parent | 8761e963d0859b94f05c060ddc0acc1b7c207b8b (diff) |
Check if reply != NULL.
-rw-r--r-- | hw/dmx/dmxinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/dmxinput.c b/hw/dmx/dmxinput.c index 37147454b..ddd7627e2 100644 --- a/hw/dmx/dmxinput.c +++ b/hw/dmx/dmxinput.c @@ -820,7 +820,7 @@ dmxDevicePointerReplyCheck (DeviceIntPtr pDevice, if (request == pDevPriv->grab.sequence) { - if (reply->response_type == 1) + if (reply) { if (pDevPriv->deviceId >= 0) { |