From 9244295a14b2231693ae4417e32b52f3493a0bad Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 16 Sep 2010 10:36:21 +0200 Subject: [PATCH] s3: Wrap the ntlm_auth loop with a talloc_stackframe (cherry picked from commit ae483bbe9af526623189cefe7735f3f2813da6d7) Signed-off-by: Stefan Metzmacher (cherry picked from commit 0d9b2e954d61c9f6211c867348a817e42bd4b12f) --- source3/utils/ntlm_auth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index 20f58fefaeb..9b9b1b854f4 100644 --- a/source3/utils/ntlm_auth.c +++ b/source3/utils/ntlm_auth.c @@ -2288,7 +2288,9 @@ static void squid_stream(enum stdio_helper_mode stdio_mode, stdio_helper_functio state->helper_mode = stdio_mode; while(1) { + TALLOC_CTX *frame = talloc_stackframe(); manage_squid_request(state, fn); + TALLOC_FREE(frame); } } -- 2.11.4.GIT