Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

Description

       This  function behaves like bson_free() except that it zeroes the memory first. This can be useful if you
       are storing passwords or other similarly important data. Note that if it truly is important, you probably
       want a page protected with mlock() as well to prevent it swapping to disk.

Parameters

       • mem: A memory region.

       • size: The size of mem.

Synopsis

          void
          bson_zero_free (void *mem, size_t size);

See Also