Commit 37bc7518 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

secur32: Fix allocation size (Coverity).

Fixes copy-paste issue from fbd30fff. Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 0eaa43f6
......@@ -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;
......
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