server/test: add a pointer check.
This commit is contained in:
parent
a5e8bc64cf
commit
27d403e01a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user