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:
parent
0eaa43f6af
commit
37bc7518b8
|
@ -365,7 +365,7 @@ SecureProvider *SECUR32_addProvider(const SecurityFunctionTableA *fnTableA,
|
||||||
|
|
||||||
if (!providerTable)
|
if (!providerTable)
|
||||||
{
|
{
|
||||||
if (!(providerTable = malloc(sizeof(*ret))))
|
if (!(providerTable = malloc(sizeof(*providerTable))))
|
||||||
{
|
{
|
||||||
LeaveCriticalSection(&cs);
|
LeaveCriticalSection(&cs);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue