GUACAMOLE-935: Merge do not assign SVC plugin context as it may be automatically freed.

This commit is contained in:
Virtually Nick 2020-01-22 16:23:38 -05:00 committed by GitHub
commit a054073ec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ BOOL VirtualChannelEntryEx(PCHANNEL_ENTRY_POINTS_EX entry_points,
svc->_init_handle = init_handle; svc->_init_handle = init_handle;
/* Complete initialization */ /* Complete initialization */
if (svc->_entry_points.pVirtualChannelInitEx(svc, svc, init_handle, if (svc->_entry_points.pVirtualChannelInitEx(svc, NULL, init_handle,
&svc->_channel_def, 1, VIRTUAL_CHANNEL_VERSION_WIN2000, &svc->_channel_def, 1, VIRTUAL_CHANNEL_VERSION_WIN2000,
guac_rdp_common_svc_handle_init_event) != CHANNEL_RC_OK) { guac_rdp_common_svc_handle_init_event) != CHANNEL_RC_OK) {
return FALSE; return FALSE;