summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-28 13:53:16 +0000
committerGerald Carter <jerry@samba.org>2006-02-28 13:53:16 +0000
commit4830fa62c169e9af293fe199744e15166e45c33a (patch)
treec6024196d1089f2374908dcadfad4cb5931904e4 /source/passdb
parent9aee6c9e70ad38bafd6f650dca36f2a91c24c54a (diff)
downloadsamba-4830fa62c169e9af293fe199744e15166e45c33a.tar.gz
samba-4830fa62c169e9af293fe199744e15166e45c33a.tar.xz
samba-4830fa62c169e9af293fe199744e15166e45c33a.zip
r13756: use samu_new() rather than calling talloc() directly.
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/pdb_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/pdb_interface.c b/source/passdb/pdb_interface.c
index d40c6d2c6eb..8645c12bcec 100644
--- a/source/passdb/pdb_interface.c
+++ b/source/passdb/pdb_interface.c
@@ -346,7 +346,7 @@ static NTSTATUS pdb_default_create_user(struct pdb_methods *methods,
NTSTATUS status;
struct passwd *pwd;
- if ((sam_pass = TALLOC_ZERO_P(tmp_ctx, struct samu)) == NULL) {
+ if ((sam_pass = samu_new(tmp_ctx)) == NULL) {
return NT_STATUS_NO_MEMORY;
}