Commit 09447fb6 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Correct an optimization.

parent e747f706
......@@ -550,7 +550,7 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc,
if (itemSizes != &itemSize)
itemSizes = CryptMemRealloc(itemSizes,
cItems * sizeof(struct AsnArrayItemSize));
else
else if (cItems > 1)
{
itemSizes =
CryptMemAlloc(
......
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