1
0
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:
Tim Potter 0001-01-01 00:00:00 +00:00
parent c816aacefb
commit e3cb0cd0d6

View File

@ -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);
}