svn commit: samba r15802 - in branches/SAMBA_4_0/source/smb_server/smb2: .

metze at samba.org metze at samba.org
Mon May 22 14:14:24 GMT 2006


Author: metze
Date: 2006-05-22 14:14:23 +0000 (Mon, 22 May 2006)
New Revision: 15802

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15802

Log:
merge tridge's fix to the SMB2 server

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h	2006-05-22 13:30:32 UTC (rev 15801)
+++ branches/SAMBA_4_0/source/smb_server/smb2/smb2_server.h	2006-05-22 14:14:23 UTC (rev 15802)
@@ -108,10 +108,7 @@
 		smb2srv_send_error(req, NT_STATUS_NO_MEMORY); \
 		return; \
 	} \
-	if (!talloc_reference(req->ntvfs, req)) { \
-		smb2srv_send_error(req, NT_STATUS_NO_MEMORY); \
-		return; \
-	} \
+	talloc_steal(req->tcon->ntvfs, req); \
 	req->ntvfs->frontend_data.private_data = req; \
 } while (0)
 



More information about the samba-cvs mailing list