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
/
heap.h
diff --git
a/src/vppinfra/heap.h
b/src/vppinfra/heap.h
index
f76c945
..
b6e9f02
100644
(file)
--- a/
src/vppinfra/heap.h
+++ b/
src/vppinfra/heap.h
@@
-260,7
+260,7
@@
heap_create_from_memory (void *memory, uword max_len, uword elt_bytes)
return 0;
h = memory;
- memset (h, 0, sizeof (h[0]));
+
clib_
memset (h, 0, sizeof (h[0]));
h->max_len = max_len;
h->elt_bytes = elt_bytes;
h->flags = HEAP_IS_STATIC;