From d57b58849bda868f2463d38cc636f01af919316c Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 5 Sep 2023 00:10:35 +0200 Subject: Dep/CascLib: Update to ladislav-zezula/CascLib@5c60050770767f2e606f6fec0c35beb8b9b00c60 --- dep/CascLib/src/common/Array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/CascLib/src/common/Array.h') diff --git a/dep/CascLib/src/common/Array.h b/dep/CascLib/src/common/Array.h index 56cdf073a33..8bd7dc177b9 100644 --- a/dep/CascLib/src/common/Array.h +++ b/dep/CascLib/src/common/Array.h @@ -211,7 +211,7 @@ class CASC_ARRAY while (ItemCountMax < NewItemCount) ItemCountMax = ItemCountMax << 1; - // Allocate new table + // Allocate new table. If this fails, the 'm_pItemArray' remains valid NewItemArray = CASC_REALLOC(m_pItemArray, (ItemCountMax * m_ItemSize)); if(NewItemArray == NULL) return false; -- cgit v1.2.3