summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-20 10:54:51 +0200
committerVolker Lendecke <vl@samba.org>2009-06-20 12:15:21 +0200
commiteb8c081771bd69475f2de67772c1b655a23ff10d (patch)
treecf84a726ad09b9f836f1928de92e9d1612d14081 /source3
parent661f0ba73b28d6165e0ba958413adf9cb97662d5 (diff)
downloadsamba-eb8c081771bd69475f2de67772c1b655a23ff10d.tar.gz
samba-eb8c081771bd69475f2de67772c1b655a23ff10d.tar.bz2
samba-eb8c081771bd69475f2de67772c1b655a23ff10d.zip
talloc_tos() aborts if it can not get a stackframe
Diffstat (limited to 'source3')
-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) {