summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c3
1 files changed, 3 insertions, 0 deletions
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);
}