From fe6c338463f47bc5abcaa5f73a3fe48df4accd46 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 31 Aug 2007 09:15:57 +0000 Subject: r24825: Give testparm an initial talloc stackframe, so it does not complain it is leaking. (This used to be commit 705336ee1098a2c4d6e933dfa3e2f2968fa717ad) --- source3/utils/testparm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/utils/testparm.c') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 56360d2ef5..8c45f0837f 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -220,6 +220,8 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ POPT_TABLEEND }; + TALLOC_CTX *frame = talloc_stackframe(); + load_case_tables(); pc = poptGetContext(NULL, argc, argv, long_options, @@ -395,6 +397,7 @@ print command parameter is ignored when using CUPS libraries.\n", } } } + TALLOC_FREE(frame); return(ret); } -- cgit