ole32: Fix size of memory allocation in FileMonikerImpl_DecomposePath.

This commit is contained in:
Rob Shearman 2009-11-20 14:38:01 +00:00 committed by Alexandre Julliard
parent d1db29e801
commit 377159c4a7
1 changed files with 1 additions and 1 deletions

View File

@ -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;