Commit 9a336ce3 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

explorer: Fixed wrong heapalloc size (Coverity).

parent a2307a33
......@@ -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;
......
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