diff options
-rw-r--r-- | source3/rpc_server/netlogon/srv_netlog_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/netlogon/srv_netlog_nt.c b/source3/rpc_server/netlogon/srv_netlog_nt.c index 8e766328f5..bfa3bb25e8 100644 --- a/source3/rpc_server/netlogon/srv_netlog_nt.c +++ b/source3/rpc_server/netlogon/srv_netlog_nt.c @@ -617,10 +617,10 @@ static NTSTATUS samr_find_machine_account(TALLOC_CTX *mem_ctx, } out: - if (b && is_valid_policy_hnd(&domain_handle)) { + if (is_valid_policy_hnd(&domain_handle)) { dcerpc_samr_Close(b, mem_ctx, &domain_handle, &result); } - if (b && is_valid_policy_hnd(&connect_handle)) { + if (is_valid_policy_hnd(&connect_handle)) { dcerpc_samr_Close(b, mem_ctx, &connect_handle, &result); } |