explorer: Fixed wrong heapalloc size (Coverity).
This commit is contained in:
parent
a2307a3339
commit
9a336ce3e7
|
@ -457,7 +457,7 @@ static void initialize_launchers( HWND hwnd )
|
|||
CoTaskMemFree( desktop_folder );
|
||||
return;
|
||||
}
|
||||
if ((launchers = HeapAlloc( GetProcessHeap(), 0, 2 * sizeof(struct launcher) )))
|
||||
if ((launchers = HeapAlloc( GetProcessHeap(), 0, 2 * sizeof(launchers[0]) )))
|
||||
{
|
||||
nb_allocated = 2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue