aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/common/Array.h
diff options
context:
space:
mode:
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;