s3: Wrap the ntlm_auth loop with a talloc_stackframe (cherry picked from commit ae483...
authorVolker Lendecke <vl@samba.org>
Thu, 16 Sep 2010 08:36:21 +0000 (10:36 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 5 Mar 2011 13:34:41 +0000 (14:34 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 0d9b2e954d61c9f6211c867348a817e42bd4b12f)

source3/utils/ntlm_auth.c

index 20f58fefaeb6ddc0a6e1455b2d812572fe255c85..9b9b1b854f451a33944f3be745736ae48f4e762b 100644 (file)
@@ -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);
        }
 }