1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/libcli/util
Andrew Tridgell da3ee27900 add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()
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
2009-06-04 14:10:10 +10:00
..
doserr.c error-codes: add some more WERRORs to table. 2009-05-12 23:52:43 +02:00
doserr.h Import new DOS error codes from Samba 3. 2008-10-23 03:13:08 +02:00
error.h errormap: Remove wbc -> NTSTATUS error map for now. It is not used. 2009-05-15 16:05:37 +02:00
ntstatus.h add NT_STATUS_HAVE_NO_MEMORY_AND_FREE() 2009-06-04 14:10:10 +10:00
werror.h error-codes: add some more group specific windows error codes. 2009-05-05 21:10:02 +02:00