git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11af347
)
s3:smbd: remove use of close_cnum() in smbd_smb2_tree_connect()
author
Michael Adam
<obnox@samba.org>
Tue, 22 May 2012 11:45:57 +0000
(13:45 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 1 Jun 2012 09:53:45 +0000
(11:53 +0200)
The cleanup is now done in the destructor for smbXsrv_tcon.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_tcon.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_tcon.c
b/source3/smbd/smb2_tcon.c
index 160bbdedf6fca3953c910948b55405337174f43d..9de91603c6c82e22a1969c7a73efb9001a4e6e0a 100644
(file)
--- a/
source3/smbd/smb2_tcon.c
+++ b/
source3/smbd/smb2_tcon.c
@@
-252,7
+252,6
@@
static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req,
status = smbXsrv_tcon_update(tcon);
if (!NT_STATUS_IS_OK(status)) {
- close_cnum(tcon->compat, tcon->compat->vuid);
TALLOC_FREE(tcon);
return status;
}