GUACAMOLE-935: Merge do not assign SVC plugin context as it may be automatically freed.
This commit is contained in:
commit
a054073ec7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user