1
0
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:
Jeremy Allison 2010-05-07 00:33:59 -07:00
parent 815fcfba48
commit 882fb1828f

View File

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