From 78979c642030c725489643fc7f395ea578c69261 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 22 Jun 2010 09:01:32 +0200 Subject: s3:idmap_tdb: properly initialize the idmap_tdb context with zero --- source3/winbindd/idmap_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit