diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_table.cc b/tests/test_table.cc index 9cc98b1..2cc5636 100644 --- a/tests/test_table.cc +++ b/tests/test_table.cc @@ -275,7 +275,7 @@ void test_inttable(int32_t *keys, uint16_t num_entries, const char *desc) { if (x == INT_MAX) abort(); printf("%ld/s (%0.1f%% of upb)\n\n", (long)(i/total), i / upb_rand_i); upb_inttable_uninit(&table); - delete rand_order; + delete[] rand_order; } int32_t *get_contiguous_keys(int32_t num) { |