explorerframe: Fixed incorrect sizeof (Coverity).

This commit is contained in:
Marcus Meissner 2011-10-18 05:12:52 +02:00 committed by Alexandre Julliard
parent 06935e9323
commit 230f63c3d2

View file

@ -1114,7 +1114,7 @@ static HRESULT WINAPI NSTC2_fnGetRootItems(INameSpaceTreeControl2* iface,
if(!count)
return E_INVALIDARG;
array = HeapAlloc(GetProcessHeap(), 0, sizeof(LPITEMIDLIST*)*count);
array = HeapAlloc(GetProcessHeap(), 0, sizeof(LPITEMIDLIST)*count);
i = 0;
LIST_FOR_EACH_ENTRY(root, &This->roots, nstc_root, entry)