diff options
author | Michael Adam <obnox@samba.org> | 2014-03-20 15:26:06 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-04-03 00:26:28 +0200 |
commit | fd56a63a871be01822f47bdb123413f1541fd68b (patch) | |
tree | 0e93f2b44b425bc16ec312a756c4ade22245d7c9 | |
parent | 38157a093bc782ea2f1493229727ff1ecae753dd (diff) | |
download | samba-fd56a63a871be01822f47bdb123413f1541fd68b.tar.gz samba-fd56a63a871be01822f47bdb123413f1541fd68b.tar.xz samba-fd56a63a871be01822f47bdb123413f1541fd68b.zip |
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>
-rw-r--r-- | source3/winbindd/idmap_autorid_tdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_autorid_tdb.c b/source3/winbindd/idmap_autorid_tdb.c index 4f7861de65..4a866bf70a 100644 --- a/source3/winbindd/idmap_autorid_tdb.c +++ b/source3/winbindd/idmap_autorid_tdb.c @@ -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; } |