s3: Wrap the ntlm_auth loop with a talloc_stackframe
authorVolker Lendecke <vl@samba.org>
Thu, 16 Sep 2010 08:36:21 +0000 (10:36 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 16 Sep 2010 19:02:56 +0000 (12:02 -0700)
source3/utils/ntlm_auth.c

index 38ed9f7c9bbf5084e3032a62ecfe73f8350aa4fa..5b0bc20095a824ab518822e8f589909f0e7e4bb5 100644 (file)
@@ -2319,7 +2319,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);
        }
 }