summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-05-07 00:33:59 -0700
committerJeremy Allison <jra@samba.org>2010-05-07 00:33:59 -0700
commit882fb1828f766f2c532c32472ab7ab81f03cd906 (patch)
treef508085f76aa3de32ca8b05f72add34a1e374b5b /source3/smbd
parent815fcfba48ecf2596d989c646cd59c305b0d38ef (diff)
downloadsamba-882fb1828f766f2c532c32472ab7ab81f03cd906.tar.gz
samba-882fb1828f766f2c532c32472ab7ab81f03cd906.tar.bz2
samba-882fb1828f766f2c532c32472ab7ab81f03cd906.zip
Fix crash in cancel-tdis lock test. Correctly shut down connection.
Jeremy.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_tcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c
index f3efb83c1d..0f765d662a 100644
--- a/source3/smbd/smb2_tcon.c
+++ b/source3/smbd/smb2_tcon.c
@@ -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;