summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_tdb2.c2
1 files changed, 1 insertions, 1 deletions
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;