GBP: redirect contracts
[vpp.git] / src / vppinfra / test_qhash.c
index fdbf0bb..a520fa4 100644 (file)
@@ -54,7 +54,7 @@ test_qhash_main (unformat_input_t * input)
   test_qhash_main_t _tm, *tm = &_tm;
   uword i, iter;
 
-  memset (tm, 0, sizeof (tm[0]));
+  clib_memset (tm, 0, sizeof (tm[0]));
   tm->n_iter = 10;
   tm->seed = 1;
   tm->n_keys = 10;
@@ -311,6 +311,8 @@ main (int argc, char *argv[])
   unformat_input_t i;
   clib_error_t *error;
 
+  clib_mem_init (0, 64ULL << 20);
+
   unformat_init_command_line (&i, argv);
   error = test_qhash_main (&i);
   unformat_free (&i);