GUACAMOLE-424: Remove check against NULL for display cursor

This commit is contained in:
itsankoff 2017-11-13 14:51:31 +02:00
parent f7990af6d0
commit e139b20d12

View File

@ -112,7 +112,7 @@ int guac_vnc_user_leave_handler(guac_user* user) {
guac_vnc_client* vnc_client = (guac_vnc_client*) user->client->data;
if (vnc_client->display && vnc_client->display->cursor) {
if (vnc_client->display) {
/* Update shared cursor state */
guac_common_cursor_remove_user(vnc_client->display->cursor, user);
}