mirror of
https://github.com/samba-team/samba.git
synced 2025-08-06 17:32:29 +03:00
r23236: Another bad merge: Correctly free and unlock the session record in
session_claim. Jerry, this fixes the hanging smbstatus.
Sorry for that,
Volker
(This used to be commit 86ff82a5df
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
00959280b2
commit
4b70daaa59
@ -192,10 +192,11 @@ BOOL session_claim(user_struct *vuser)
|
||||
|
||||
status = rec->store(rec, data, TDB_REPLACE);
|
||||
|
||||
TALLOC_FREE(rec);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(1,("session_claim: unable to create session id "
|
||||
"record: %s\n", nt_errstr(status)));
|
||||
TALLOC_FREE(rec);
|
||||
return False;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user