summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_tcon.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-08-06 13:22:33 +0200
committerStefan Metzmacher <metze@samba.org>2009-08-07 14:18:14 +0200
commitc54e6b19e395724eb84f6e7157073e8772bc8594 (patch)
tree959cf0c63c920a933f407025bb99bcef489cd90c /source3/smbd/smb2_tcon.c
parent8300b255a5f88cc4ca23678595810d7caec50a00 (diff)
downloadsamba-c54e6b19e395724eb84f6e7157073e8772bc8594.tar.gz
samba-c54e6b19e395724eb84f6e7157073e8772bc8594.tar.bz2
samba-c54e6b19e395724eb84f6e7157073e8772bc8594.zip
s3:smbd: add a smbd_server_connection pointer to connection_struct
This can be NULL for faked connection structs used in the rpc server or printing code. metze
Diffstat (limited to 'source3/smbd/smb2_tcon.c')
-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 8c4b1f1b6f..090f9b7908 100644
--- a/source3/smbd/smb2_tcon.c
+++ b/source3/smbd/smb2_tcon.c
@@ -127,7 +127,7 @@ static int smbd_smb2_tcon_destructor(struct smbd_smb2_tcon *tcon)
idr_remove(tcon->session->tcons.idtree, tcon->tid);
DLIST_REMOVE(tcon->session->tcons.list, tcon);
- conn_free(tcon->session->conn, tcon->compat_conn);
+ conn_free(tcon->compat_conn);
tcon->compat_conn = NULL;
tcon->tid = 0;