mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-30 21:33:34 +08:00
Fixed duplicate call to NtCurrentTeb
This commit is contained in:
parent
b500800104
commit
4a9efacc65
@ -44,7 +44,7 @@ DWORD GetLastError(VOID)
|
||||
PTEB pt = NtCurrentTeb();
|
||||
if (pt)
|
||||
{
|
||||
return NtCurrentTeb()->LastErrorValue;
|
||||
return pt->LastErrorValue;
|
||||
}
|
||||
return ERROR_OUTOFMEMORY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user