ole32: Fix size of memory allocation in FileMonikerImpl_DecomposePath.
This commit is contained in:
parent
d1db29e801
commit
377159c4a7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue