mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[core,utils] abort channel reload if not allocated
This commit is contained in:
@@ -505,7 +505,9 @@ BOOL utils_reload_channels(rdpContext* context)
|
||||
}
|
||||
|
||||
context->channels = freerdp_channels_new(context->instance);
|
||||
WINPR_ASSERT(context->channels);
|
||||
if (!context->channels)
|
||||
return FALSE;
|
||||
|
||||
freerdp_channels_register_instance(context->channels, context->instance);
|
||||
|
||||
BOOL rc = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user