c11 safe string handling support
[vpp.git] / src / vppinfra / phash.h
index 746a0fd..3dc59c7 100644 (file)
@@ -168,7 +168,7 @@ phash_main_free (phash_main_t * pm)
   phash_main_free_working_memory (pm);
   vec_free (pm->tab);
   vec_free (pm->keys);
-  memset (pm, 0, sizeof (pm[0]));
+  clib_memset (pm, 0, sizeof (pm[0]));
 }
 
 /* Slow hash computation for general keys. */