diff options
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/check_samsec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/check_samsec.c b/source3/auth/check_samsec.c index b6cac60dd3..7c97170328 100644 --- a/source3/auth/check_samsec.c +++ b/source3/auth/check_samsec.c @@ -408,6 +408,7 @@ NTSTATUS check_sam_security(const DATA_BLOB *challenge, /* Quit if the account was locked out. */ if (pdb_get_acct_ctrl(sampass) & ACB_AUTOLOCK) { DEBUG(3,("check_sam_security: Account for user %s was locked out.\n", username)); + TALLOC_FREE(sampass); return NT_STATUS_ACCOUNT_LOCKED_OUT; } |