Commit 377159c4 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ole32: Fix size of memory allocation in FileMonikerImpl_DecomposePath.

parent d1db29e8
......@@ -1036,7 +1036,7 @@ int FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** stringTable)
TRACE("%s, %p\n", debugstr_w(str), *stringTable);
strgtable = CoTaskMemAlloc(len*sizeof(WCHAR));
strgtable = CoTaskMemAlloc(len*sizeof(*strgtable));
if (strgtable==NULL)
return E_OUTOFMEMORY;
......
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