mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Fix crash in cancel-tdis lock test. Correctly shut down connection.
Jeremy.
This commit is contained in:
parent
815fcfba48
commit
882fb1828f
@ -128,7 +128,7 @@ static int smbd_smb2_tcon_destructor(struct smbd_smb2_tcon *tcon)
|
||||
DLIST_REMOVE(tcon->session->tcons.list, tcon);
|
||||
|
||||
if (tcon->compat_conn) {
|
||||
conn_free(tcon->compat_conn);
|
||||
close_cnum(tcon->compat_conn, tcon->session->vuid);
|
||||
}
|
||||
|
||||
tcon->compat_conn = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user