summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 51190e0bc2..8efd6592dd 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -655,9 +655,6 @@ NTSTATUS local_password_change(const char *user_name,
*pp_msg_str = NULL;
tosctx = talloc_tos();
- if (!tosctx) {
- return NT_STATUS_NO_MEMORY;
- }
sam_pass = samu_new(tosctx);
if (!sam_pass) {