summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test_vec.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-04-06 12:31:15 +0200
committerOle Tr�an <otroan@employees.org>2022-04-06 12:22:20 +0000
commit43daea8309e9f58468ad562e15b81c5a4d8aa2b2 (patch)
tree92b43210c8182e7c6152301b6b427445a04089d9 /src/vppinfra/test_vec.c
parent2b6479c07ed67940e47a676f3386a2df21c16655 (diff)
vppinfra: add vec_new_heap()
Type: improvement Change-Id: Iab3d65b6276829ad1e522e66380d1797e37579b8 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/test_vec.c')
-rw-r--r--src/vppinfra/test_vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/test_vec.c b/src/vppinfra/test_vec.c
index 4bfffd121a2..f32cd7ffb82 100644
--- a/src/vppinfra/test_vec.c
+++ b/src/vppinfra/test_vec.c
@@ -676,7 +676,7 @@ validate_vec_init_h (uword num_elts, uword hdr_bytes)
uword len;
elt_t *new;
- new = vec_new_ha (elt_t, num_elts, hdr_bytes, 0);
+ new = vec_new_generic (elt_t, num_elts, hdr_bytes, 0, 0);
len = vec_len (new);
ASSERT (len == num_elts);