mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
[AFD]
- fix MSVC build svn path=/trunk/; revision=52605
This commit is contained in:
parent
f23c2d83be
commit
ef65e8cc09
1 changed files with 2 additions and 1 deletions
|
@ -81,10 +81,11 @@ VOID TaCopyAddressInPlace( PTA_ADDRESS Target,
|
|||
|
||||
PTA_ADDRESS TaCopyAddress( PTA_ADDRESS Source ) {
|
||||
UINT AddrLen = TaLengthOfAddress( Source );
|
||||
PVOID Buffer;
|
||||
if (!AddrLen)
|
||||
return NULL;
|
||||
|
||||
PVOID Buffer = ExAllocatePool( NonPagedPool, AddrLen );
|
||||
Buffer = ExAllocatePool( NonPagedPool, AddrLen );
|
||||
|
||||
if (Buffer)
|
||||
RtlCopyMemory( Buffer, Source, AddrLen );
|
||||
|
|
Loading…
Reference in a new issue