Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
c11 safe string handling support
[vpp.git]
/
src
/
vppinfra
/
mhash.c
diff --git
a/src/vppinfra/mhash.c
b/src/vppinfra/mhash.c
index
b694cc7
..
e09d719
100644
(file)
--- a/
src/vppinfra/mhash.c
+++ b/
src/vppinfra/mhash.c
@@
-202,7
+202,7
@@
mhash_init (mhash_t * h, uword n_value_bytes, uword n_key_bytes)
vec_free (h->key_tmps);
hash_free (h->hash);
- memset (h, 0, sizeof (h[0]));
+
clib_
memset (h, 0, sizeof (h[0]));
h->n_key_bytes = n_key_bytes;
#if 0