summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/password.c b/source4/smb_server/password.c
index 499023374f..6132e9f84f 100644
--- a/source4/smb_server/password.c
+++ b/source4/smb_server/password.c
@@ -58,7 +58,7 @@ void invalidate_vuid(struct smbsrv_connection *smb, uint16_t vuid)
session_yield(vuser);
- talloc_destroy(vuser->session_info->mem_ctx);
+ free_session_info(&vuser->session_info);
DLIST_REMOVE(smb->users.validated_users, vuser);