mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
da3ee27900
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 |
||
---|---|---|
.. | ||
doserr.c | ||
doserr.h | ||
error.h | ||
ntstatus.h | ||
werror.h |