summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/pdbtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c
index c4c6bb6871..821f39bee7 100644
--- a/source3/torture/pdbtest.c
+++ b/source3/torture/pdbtest.c
@@ -347,6 +347,8 @@ int main(int argc, char **argv)
POPT_TABLEEND
};
+ ctx = talloc_stackframe();
+
load_case_tables();
pc = poptGetContext("pdbtest", argc, (const char **) argv,
@@ -372,8 +374,6 @@ int main(int argc, char **argv)
exit(1);
}
- ctx = talloc_init("PDBTEST");
-
if (!(out = samu_new(ctx))) {
fprintf(stderr, "Can't create samu structure.\n");
exit(1);