mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
In many places we use NT_STATUS_HAVE_NO_MEMORY() to auto-return when a memory allocation fails. In quite a few places where we use this, we end up leaving a tmp_ctx behind, which creates a memory leak. This macro takes a memory context to free when returning the error