diff options
Diffstat (limited to 'src/vppinfra/socket.h')
-rw-r--r-- | src/vppinfra/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/socket.h b/src/vppinfra/socket.h index 4f9e9509342..b5f005839e4 100644 --- a/src/vppinfra/socket.h +++ b/src/vppinfra/socket.h @@ -168,7 +168,7 @@ clib_socket_free (clib_socket_t * s) vec_free (s->rx_buffer); if (clib_mem_is_heap_object (s->config)) vec_free (s->config); - memset (s, 0, sizeof (s[0])); + clib_memset (s, 0, sizeof (s[0])); } always_inline clib_error_t * |