summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-22 09:01:32 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:52 +0200
commit78979c642030c725489643fc7f395ea578c69261 (patch)
tree0f6ee0e4001a2ec1b97f24aefc7b07768d7a7136 /source3/winbindd
parent9c3d4dff828574263f4f2ff3632c08af387a01f1 (diff)
downloadsamba-78979c642030c725489643fc7f395ea578c69261.tar.gz
samba-78979c642030c725489643fc7f395ea578c69261.tar.bz2
samba-78979c642030c725489643fc7f395ea578c69261.zip
s3:idmap_tdb: properly initialize the idmap_tdb context with zero
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index 8bb615d8f8..605bc59328 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -484,7 +484,7 @@ static NTSTATUS idmap_tdb_db_init(struct idmap_domain *dom, const char *params)
DEBUG(10, ("idmap_tdb_db_init called for domain '%s'\n", dom->name));
- ctx = talloc(dom, struct idmap_tdb_context);
+ ctx = talloc_zero(dom, struct idmap_tdb_context);
if ( ! ctx) {
DEBUG(0, ("Out of memory!\n"));
return NT_STATUS_NO_MEMORY;