From 230f63c3d266d3178e775f30b760e8b358736cf1 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 18 Oct 2011 05:12:52 +0200 Subject: [PATCH] explorerframe: Fixed incorrect sizeof (Coverity). --- dlls/explorerframe/nstc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/explorerframe/nstc.c b/dlls/explorerframe/nstc.c index 9a8c75b7395..00ad1f6e32b 100644 --- a/dlls/explorerframe/nstc.c +++ b/dlls/explorerframe/nstc.c @@ -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)