AUDIT: Add helper functions to allocate and free audit_buffers.