Commit 25678813 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Do not clear the pointer we just allocated, just the first byte it

points to.
parent 34528b91
......@@ -5672,7 +5672,7 @@ HRESULT WINAPI VarBstrCat(BSTR pbstrLeft, BSTR pbstrRight, BSTR *pbstrOut)
if (!*pbstrOut)
return E_OUTOFMEMORY;
*pbstrOut = '\0';
(*pbstrOut)[0] = '\0';
if (pbstrLeft)
strcpyW(*pbstrOut, pbstrLeft);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment