summaryrefslogtreecommitdiff
path: root/epan/wmem/wmem_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/wmem/wmem_test.c')
-rw-r--r--epan/wmem/wmem_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wmem/wmem_test.c b/epan/wmem/wmem_test.c
index c4dec8bc98..c4a999a5af 100644
--- a/epan/wmem/wmem_test.c
+++ b/epan/wmem/wmem_test.c
@@ -263,8 +263,8 @@ wmem_test_allocator(wmem_allocator_type_t type, wmem_verify_func verify)
ptrs[i] = NULL;
}
- /* Run ~64,000 iterations */
- for (i=0; i<1024*64; i++) {
+ /* Run enough iterations to fill the array 64 times */
+ for (i=0; i<MAX_SIMULTANEOUS_ALLOCS*64; i++) {
gint ptrs_index;
gint new_size;