secur32: Fix allocation size (Coverity).

Fixes copy-paste issue from fbd30fff03.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-09-15 13:31:03 +03:00 committed by Alexandre Julliard
parent 0eaa43f6af
commit 37bc7518b8
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ SecureProvider *SECUR32_addProvider(const SecurityFunctionTableA *fnTableA,
if (!providerTable)
{
if (!(providerTable = malloc(sizeof(*ret))))
if (!(providerTable = malloc(sizeof(*providerTable))))
{
LeaveCriticalSection(&cs);
return NULL;