shlwapi: Take sizeof(WCHAR) into account when allocating Unicode string.

Misha Koshelev mk144210 at bcm.edu
Sun Aug 19 01:52:22 CDT 2007


Fixes a Vector NTI bug. The string being allocated is a Unicode string and
we should be allocating the number of character * sizeof(WCHAR) bytes, not just the
"number of characters" bytes.
---
 dlls/shlwapi/url.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1301aad9111efda3a0c7af7c82836aae520a442a.diff
Type: text/x-patch
Size: 654 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070819/a494060f/1301aad9111efda3a0c7af7c82836aae520a442a.bin


More information about the wine-patches mailing list