crypt32: Correct an optimization.

This commit is contained in:
Juan Lang 2007-09-17 15:01:52 -07:00 committed by Alexandre Julliard
parent e747f706b1
commit 09447fb605
1 changed files with 1 additions and 1 deletions

View File

@ -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(