summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-16 10:36:21 +0200
committerVolker Lendecke <vl@samba.org>2010-09-16 12:02:56 -0700
commitae483bbe9af526623189cefe7735f3f2813da6d7 (patch)
treed3c5bc537b8fb55c2d4e97db7ee2945385c8f9ca
parent0730d982e68bacbb89584ee8297c6e275955b7c4 (diff)
downloadsamba-ae483bbe9af526623189cefe7735f3f2813da6d7.tar.gz
samba-ae483bbe9af526623189cefe7735f3f2813da6d7.tar.bz2
samba-ae483bbe9af526623189cefe7735f3f2813da6d7.zip
s3: Wrap the ntlm_auth loop with a talloc_stackframe
-rw-r--r--source3/utils/ntlm_auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 38ed9f7c9b..5b0bc20095 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -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);
}
}