mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed freerdp_device_clone for serial devices
This commit is contained in:
@@ -500,6 +500,14 @@ RDPDR_DEVICE* freerdp_device_clone(const RDPDR_DEVICE* device)
|
||||
if (!copy.serial->Driver)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (copy.serial->Permissive)
|
||||
{
|
||||
copy.serial->Permissive = _strdup(src.serial->Permissive);
|
||||
|
||||
if (!copy.serial->Permissive)
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user