mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
explorer: Fixed wrong heapalloc size (Coverity).
This commit is contained in:
parent
a2307a3339
commit
9a336ce3e7
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ static void initialize_launchers( HWND hwnd )
|
||||||
CoTaskMemFree( desktop_folder );
|
CoTaskMemFree( desktop_folder );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((launchers = HeapAlloc( GetProcessHeap(), 0, 2 * sizeof(struct launcher) )))
|
if ((launchers = HeapAlloc( GetProcessHeap(), 0, 2 * sizeof(launchers[0]) )))
|
||||||
{
|
{
|
||||||
nb_allocated = 2;
|
nb_allocated = 2;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue