summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/idmap_tdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nsswitch/idmap_tdb.c')
-rw-r--r--source/nsswitch/idmap_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/idmap_tdb.c b/source/nsswitch/idmap_tdb.c
index 8ce88e015d4..ec866519353 100644
--- a/source/nsswitch/idmap_tdb.c
+++ b/source/nsswitch/idmap_tdb.c
@@ -1198,7 +1198,7 @@ static NTSTATUS idmap_tdb_dump_data(struct idmap_domain *dom, struct id_map **ma
ctx = talloc_get_type(dom->private_data, struct idmap_tdb_context);
- data = talloc_zero(ctx, struct dump_data);
+ data = TALLOC_ZERO_P(ctx, struct dump_data);
if ( ! data) {
DEBUG(0, ("Out of memory!\n"));
return NT_STATUS_NO_MEMORY;