explorer: Fixed wrong heapalloc size (Coverity).

This commit is contained in:
Marcus Meissner 2013-06-09 20:30:23 +02:00 committed by Alexandre Julliard
parent a2307a3339
commit 9a336ce3e7
1 changed files with 1 additions and 1 deletions

View File

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