Check if reply != NULL.

This commit is contained in:
David Reveman 2008-11-18 18:20:55 -05:00
parent 8761e963d0
commit 0a4fa666b5

View file

@ -820,7 +820,7 @@ dmxDevicePointerReplyCheck (DeviceIntPtr pDevice,
if (request == pDevPriv->grab.sequence)
{
if (reply->response_type == 1)
if (reply)
{
if (pDevPriv->deviceId >= 0)
{