Commit 230f63c3 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

explorerframe: Fixed incorrect sizeof (Coverity).

parent 06935e93
......@@ -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)
......
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