Module: wine Branch: master Commit: 09447fb605d9ea302bb6cdd1bc7fef7d9791a58a URL: http://source.winehq.org/git/wine.git/?a=commit;h=09447fb605d9ea302bb6cdd1bc...
Author: Juan Lang juan.lang@gmail.com Date: Mon Sep 17 15:01:52 2007 -0700
crypt32: Correct an optimization.
---
dlls/crypt32/decode.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c index ef95a34..8ce5d43 100644 --- a/dlls/crypt32/decode.c +++ b/dlls/crypt32/decode.c @@ -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(