summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-03 09:17:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:31 -0500
commit905dd977fa692ef01676b92396f25070a1d194d3 (patch)
tree1c14d90dc1be2d4fbc1d8a027df0f1a03977b9c5 /source4/torture/rpc
parent73da5b1e873e5998fc862c361db70788a352414a (diff)
downloadsamba-905dd977fa692ef01676b92396f25070a1d194d3.tar.gz
samba-905dd977fa692ef01676b92396f25070a1d194d3.tar.bz2
samba-905dd977fa692ef01676b92396f25070a1d194d3.zip
r2203: delete the key after testing, so as not to clutter the server with random keys
(This used to be commit d98ed1fbe52b547c461f1b6a859504e96e0e3ee7)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/lsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index b870a6bb08..1ef6145abc 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -637,6 +637,8 @@ static BOOL test_lsakey_puzzle(struct dcerpc_pipe *p_smb,
torture_rpc_close(p_tcp);
+ test_Delete(p_smb, mem_ctx, &sec_handle);
+
return True;
}