diff options
Diffstat (limited to 'source4/torture/rpc/lsa.c')
-rw-r--r-- | source4/torture/rpc/lsa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 35b4ff3333..9512493181 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -539,7 +539,7 @@ BOOL torture_rpc_lsa(int dummy) return False; } - p->flags |= DCERPC_DEBUG_PRINT_BOTH; + p->flags |= DCERPC_DEBUG_PRINT_BOTH | DCERPC_DEBUG_VALIDATE_BOTH; if (!test_OpenPolicy(p, mem_ctx)) { ret = False; @@ -575,6 +575,8 @@ BOOL torture_rpc_lsa(int dummy) ret = False; } + talloc_destroy(mem_ctx); + torture_rpc_close(p); return ret; |