summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-09-28 02:37:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:04 -0500
commit9d9e7d8563537bf61f75c093ae7b50e7749aaba9 (patch)
tree18987aec066b8c6a727515db556b75a1de4daa09 /source4/torture
parent81097e20e71c3ba928cfe7764f3238352fef145f (diff)
downloadsamba-9d9e7d8563537bf61f75c093ae7b50e7749aaba9.tar.gz
samba-9d9e7d8563537bf61f75c093ae7b50e7749aaba9.tar.bz2
samba-9d9e7d8563537bf61f75c093ae7b50e7749aaba9.zip
r10563: a null 'join' is a no-op.
Andrew Bartlett (This used to be commit cd70e8baf5bccfd11ade342f6692ea7f7bf2eef4)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/testjoin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index 2c2eca74e7..86cff44084 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -416,6 +416,9 @@ void torture_leave_domain(struct test_join *join)
struct samr_DeleteUser d;
NTSTATUS status;
+ if (!join) {
+ return;
+ }
d.in.user_handle = &join->user_handle;
d.out.user_handle = &join->user_handle;