summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-16 22:36:33 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:45 +0200
commit83ad3cdf6966e25ca931ebb6feabbf9be059e838 (patch)
tree0111b96d6527842c40cb24d9ee93c515741ca287
parentc08a45ebd9aa18d0d5795c90fc467cee089f2b7f (diff)
downloadsamba-83ad3cdf6966e25ca931ebb6feabbf9be059e838.tar.gz
samba-83ad3cdf6966e25ca931ebb6feabbf9be059e838.tar.bz2
samba-83ad3cdf6966e25ca931ebb6feabbf9be059e838.zip
s3:idmap_tdb2: talloc_zero (instead of talloc) the idmap_tdb2_context
-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;