rpcrt4: Fix typo in unescape_string_binding_componentW.
string_binding is of type "const WCHAR *" so we shouldn't be calling strlen on it, we should be calling strlenW on it.
This commit is contained in:
parent
170dd5ff8d
commit
f2e47cc2a2
|
@ -435,7 +435,7 @@ static RPC_WSTR unescape_string_binding_componentW(
|
|||
{
|
||||
RPC_WSTR component, p;
|
||||
|
||||
if (len == -1) len = strlen((const char *)string_binding);
|
||||
if (len == -1) len = strlenW(string_binding);
|
||||
|
||||
component = HeapAlloc(GetProcessHeap(), 0, (len + 1) * sizeof(*component));
|
||||
if (!component) return NULL;
|
||||
|
|
Loading…
Reference in New Issue