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>
Fri, 17 Dec 2010 19:44:28 +0000 (20:44 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
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);
        }
 }