Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
build: fix 'make test' target to build with clang
[vpp.git]
/
src
/
vppinfra
/
vec.h
diff --git
a/src/vppinfra/vec.h
b/src/vppinfra/vec.h
index
f45f45e
..
607fc28
100644
(file)
--- a/
src/vppinfra/vec.h
+++ b/
src/vppinfra/vec.h
@@
-383,7
+383,7
@@
_vec_free (void **vp)
{
if (vp[0] == 0)
return;
- clib_mem_
free (
vec_header (vp[0]));
+ clib_mem_
heap_free (vec_get_heap (vp[0]),
vec_header (vp[0]));
vp[0] = 0;
}