aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/common/Array.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-09-05 00:10:35 +0200
committerShauren <shauren.trinity@gmail.com>2023-09-05 00:10:35 +0200
commitd57b58849bda868f2463d38cc636f01af919316c (patch)
tree5beef62c041526d9468683e4388b6341f1530cc1 /dep/CascLib/src/common/Array.h
parentba224f70ad81fa0e5d1f0c4daf197e143317cdaa (diff)
Dep/CascLib: Update to ladislav-zezula/CascLib@5c60050770767f2e606f6fec0c35beb8b9b00c60
Diffstat (limited to 'dep/CascLib/src/common/Array.h')
-rw-r--r--dep/CascLib/src/common/Array.h2
1 files changed, 1 insertions, 1 deletions
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;