From 9d9e7d8563537bf61f75c093ae7b50e7749aaba9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Sep 2005 02:37:03 +0000 Subject: r10563: a null 'join' is a no-op. Andrew Bartlett (This used to be commit cd70e8baf5bccfd11ade342f6692ea7f7bf2eef4) --- source4/torture/rpc/testjoin.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') 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; -- cgit