netapi32: Correctly reallocate buffer in NetWkstaUserGetInfo.
thomas.faber at reactos.org
Mon Aug 31 15:06:56 CDT 2015
- If NetApiBufferReallocate failed, the old buffer is not freed so we
need to do that if we're gonna return failure.
- If NetApiBufferReallocate succeeded, the buffer can have moved, so
the wkui0_username member needs to be updated. This happens e.g.
when running with Debug Page Heap.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 989 bytes
Desc: not available
More information about the wine-patches