svn commit: samba r21270 - in branches/SAMBA_4_0/source/torture/basic: .

vlendec at samba.org vlendec at samba.org
Sat Feb 10 17:46:34 GMT 2007


Author: vlendec
Date: 2007-02-10 17:46:33 +0000 (Sat, 10 Feb 2007)
New Revision: 21270

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

Log:
Fix a memleak
Modified:
   branches/SAMBA_4_0/source/torture/basic/misc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/misc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/misc.c	2007-02-10 13:15:58 UTC (rev 21269)
+++ branches/SAMBA_4_0/source/torture/basic/misc.c	2007-02-10 17:46:33 UTC (rev 21270)
@@ -495,6 +495,7 @@
 	union smb_write	wr;
 	
 	NT_STATUS_NOT_OK_RETURN(req->status);
+	talloc_free(req);
 	
 	state->completed++;
 	/*rotate between writes and reads*/



More information about the samba-cvs mailing list