* src/xterm.c (x_dnd_compute_toplevels): Make sure
property_reply is non-NULL before testing its format and length.
free (error);
}
- if (xcb_get_property_value_length (property_reply) != 8
- || property_reply->format != 32)
+ if (property_reply
+ && (xcb_get_property_value_length (property_reply) != 8
+ || property_reply->format != 32))
rc = false;
geometry_reply = xcb_get_geometry_reply (dpyinfo->xcb_connection,