Add talloc stackframe for ntlm_auth.c
authorJeremy Allison <jra@samba.org>
Wed, 21 Nov 2007 03:17:47 +0000 (19:17 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 21 Nov 2007 03:17:47 +0000 (19:17 -0800)
Jeremy.
(This used to be commit 6f9c2910bdda605f90967e0aa6a84b8094f3a197)

source3/utils/ntlm_auth.c

index 0b50ced0b97ab01be5445559af0739bf280f310a..18db15dfce58ea6c2e300dd764a30c96c445fcaa 100644 (file)
@@ -2180,6 +2180,7 @@ enum {
 
  int main(int argc, const char **argv)
 {
+       TALLOC_CTX *frame = talloc_stackframe();
        int opt;
        static const char *helper_protocol;
        static int diagnostics;
@@ -2361,5 +2362,6 @@ enum {
        /* Exit code */
 
        poptFreeContext(pc);
+       TALLOC_FREE(frame);
        return 0;
 }