mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Applied Steve Langasek's patch for bug #450.
This commit is contained in:
parent
c816aacefb
commit
e3cb0cd0d6
@ -180,9 +180,10 @@ BOOL enumerate_domain_trusts( TALLOC_CTX *mem_ctx, const char *domain,
|
||||
|
||||
done:
|
||||
/* cleanup */
|
||||
|
||||
cli_nt_session_close( cli );
|
||||
cli_shutdown( cli );
|
||||
if (cli) {
|
||||
cli_nt_session_close( cli );
|
||||
cli_shutdown( cli );
|
||||
}
|
||||
|
||||
return NT_STATUS_IS_OK(result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user