From: Michael Adam Date: Wed, 16 Jun 2010 20:36:33 +0000 (+0200) Subject: s3:idmap_tdb2: talloc_zero (instead of talloc) the idmap_tdb2_context X-Git-Tag: 3.4.7-ctdb-9~72 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=ef04b29ea0adc13bf67fead999e461c728af1913;hp=9994c8f6b54a850033f8940203fa012cd1d6b3b4;p=obnox%2Fsamba-ctdb.git s3:idmap_tdb2: talloc_zero (instead of talloc) the idmap_tdb2_context --- 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;