svn commit: samba r12082 - in branches/SAMBA_4_0/source/smb_server/smb: .

tridge at samba.org tridge at samba.org
Tue Dec 6 00:12:33 GMT 2005


Author: tridge
Date: 2005-12-06 00:12:32 +0000 (Tue, 06 Dec 2005)
New Revision: 12082

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

Log:

fixed a valgrind error found by kukks in the transs server handling

Modified:
   branches/SAMBA_4_0/source/smb_server/smb/trans2.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb/trans2.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb/trans2.c	2005-12-05 23:30:45 UTC (rev 12081)
+++ branches/SAMBA_4_0/source/smb_server/smb/trans2.c	2005-12-06 00:12:32 UTC (rev 12082)
@@ -1731,9 +1731,8 @@
 	if (trans->in.params.length == param_total &&
 	    trans->in.data.length == data_total) {
 		/* its now complete */
-		reply_trans_complete(tp->req, command, trans);
 		DLIST_REMOVE(tp->req->smb_conn->trans_partial, tp);
-		talloc_free(tp);
+		reply_trans_complete(tp->req, command, trans);
 	}
 	return;
 



More information about the samba-cvs mailing list