diff options
author | Gerald Carter <jerry@samba.org> | 2006-02-28 13:53:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:52 -0500 |
commit | a8325d28d21f8a11454ea8e3392bc73824c14902 (patch) | |
tree | 57e4b642d78810a4f02a1c0424c26112e8d3cbb6 | |
parent | 10f0c68eb17241297acb9f76491ddbab9015e3c6 (diff) | |
download | samba-a8325d28d21f8a11454ea8e3392bc73824c14902.tar.gz samba-a8325d28d21f8a11454ea8e3392bc73824c14902.tar.bz2 samba-a8325d28d21f8a11454ea8e3392bc73824c14902.zip |
r13756: use samu_new() rather than calling talloc() directly.
(This used to be commit c13af58f6322104a45d0e620cc26f522a47af2ab)
-rw-r--r-- | source3/passdb/pdb_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index d40c6d2c6e..8645c12bce 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/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; } |