From 83ad3cdf6966e25ca931ebb6feabbf9be059e838 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 16 Jun 2010 22:36:33 +0200 Subject: s3:idmap_tdb2: talloc_zero (instead of talloc) the idmap_tdb2_context --- source3/winbindd/idmap_tdb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index c5992d45d0..9e29f5822d 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -267,7 +267,7 @@ static NTSTATUS idmap_tdb2_db_init(struct idmap_domain *dom, struct idmap_tdb2_context *ctx; NTSTATUS status; - ctx = talloc(dom, struct idmap_tdb2_context); + ctx = talloc_zero(dom, struct idmap_tdb2_context); if ( ! ctx) { DEBUG(0, ("Out of memory!\n")); return NT_STATUS_NO_MEMORY; -- cgit