mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
autorid: add a DEBUG upon talloc fail in the add_range function.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
38157a093b
commit
fd56a63a87
@ -185,6 +185,7 @@ static NTSTATUS idmap_autorid_addrange_action(struct db_context *db,
|
||||
|
||||
numstr = talloc_asprintf(mem_ctx, "%u", requested_rangenum);
|
||||
if (!numstr) {
|
||||
DEBUG(1, ("Talloc failed!\n"));
|
||||
ret = NT_STATUS_NO_MEMORY;
|
||||
goto error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user