summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/rtl/alloc_arena.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/rtl/alloc_arena.cxx b/sal/rtl/alloc_arena.cxx
index f28cdc140d49..1ed149752e17 100644
--- a/sal/rtl/alloc_arena.cxx
+++ b/sal/rtl/alloc_arena.cxx
@@ -268,6 +268,8 @@ rtl_arena_hash_rescale (
sal_Size new_size
)
{
+ assert(new_size != 0);
+
rtl_arena_segment_type ** new_table;
sal_Size new_bytes;