From eb8c081771bd69475f2de67772c1b655a23ff10d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 20 Jun 2009 10:54:51 +0200 Subject: [PATCH] talloc_tos() aborts if it can not get a stackframe --- source3/passdb/passdb.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 51190e0bc2a..8efd6592dd5 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) { -- 2.11.4.GIT