mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 11:54:44 +08:00
Added assertions to spot invalid call sequence for <freerdp_check_fds>
This commit is contained in:
parent
bfa6410641
commit
800f946053
@ -208,6 +208,10 @@ BOOL freerdp_check_fds(freerdp* instance)
|
||||
int status;
|
||||
rdpRdp* rdp;
|
||||
|
||||
assert(instance);
|
||||
assert(instance->context);
|
||||
assert(instance->context->rdp);
|
||||
|
||||
rdp = instance->context->rdp;
|
||||
|
||||
status = rdp_check_fds(rdp);
|
||||
|
Loading…
Reference in New Issue
Block a user