XInput_find_display: Don't dereference NULL dpyinfo
Unlikely, but could happen if calloc
fails in XextAddDisplay()
Relies on XextHasExtension(i)
macro from <X11/extensions/extutil.h>
which checks for ((i) && ((i)->codes))
Fixes: #15 (closed)
Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com
Edited by Alan Coopersmith