diff --git a/server/test/freerdp_server.c b/server/test/freerdp_server.c index b474cabb5..00d07da47 100644 --- a/server/test/freerdp_server.c +++ b/server/test/freerdp_server.c @@ -183,7 +183,7 @@ static void test_peer_draw_icon(freerdp_peer* client, int x, int y) RFX_RECT rect; STREAM* s; - if (!client->settings->rfx_codec) + if (!client->settings->rfx_codec || !info) return; if (info->icon_width < 1) return;