diff options
-rw-r--r-- | source3/lib/smbconf/testsuite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c index faf4cb9e15..224868d2b9 100644 --- a/source3/lib/smbconf/testsuite.c +++ b/source3/lib/smbconf/testsuite.c @@ -91,6 +91,7 @@ int main(int argc, const char **argv) { bool ret; poptContext pc; + TALLOC_CTX *mem_ctx = talloc_stackframe(); struct poptOption long_options[] = { POPT_COMMON_CONFIGFILE @@ -121,5 +122,6 @@ int main(int argc, const char **argv) ret = torture_smbconf(); done: + TALLOC_FREE(mem_ctx); return ret ? 0 : -1; } |