X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fsocket.h;h=b5f005839e4719dbd63208f31f8e427ddce02a17;hb=b7b929931a07fbb27b43d5cd105f366c3e29807e;hp=4f9e9509342cf88b861220c7fae01539bf43144b;hpb=f49921f73f4e1f0b67823be445aafeb9ff2333a6;p=vpp.git 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 *