aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/vec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/vec.h')
-rw-r--r--src/vppinfra/vec.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/vppinfra/vec.h b/src/vppinfra/vec.h
index d19ff998137..e8eb586fca9 100644
--- a/src/vppinfra/vec.h
+++ b/src/vppinfra/vec.h
@@ -379,14 +379,16 @@ do { \
@param H size of header in bytes
@return V (value-result parameter, V=0)
*/
-#define vec_free_h(V,H) \
-do { \
- if (V) \
- { \
- clib_mem_free (vec_header ((V), (H))); \
- V = 0; \
- } \
-} while (0)
+#define vec_free_h(V, H) \
+ do \
+ { \
+ if (V) \
+ { \
+ clib_mem_free (vec_header ((V))); \
+ V = 0; \
+ } \
+ } \
+ while (0)
/** \brief Free vector's memory (no header).
@param V pointer to a vector