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

tridge at samba.org tridge at samba.org
Sat Oct 2 12:18:59 GMT 2004


Author: tridge
Date: 2004-10-02 12:18:59 +0000 (Sat, 02 Oct 2004)
New Revision: 2785

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/torture&rev=2785&nolog=1

Log:
call init_iconv() in smbtorture to ensure we have no memory allocated
when a test started, thus making leak detection easier


Modified:
   branches/SAMBA_4_0/source/torture/torture.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/torture.c	2004-10-02 12:16:46 UTC (rev 2784)
+++ branches/SAMBA_4_0/source/torture/torture.c	2004-10-02 12:18:59 UTC (rev 2785)
@@ -4281,6 +4281,7 @@
 		if (gen_fnmatch(name, torture_ops[i].name) == 0) {
 			double t;
 			matched = True;
+			init_iconv();
 			printf("Running %s\n", torture_ops[i].name);
 			if (torture_ops[i].flags & FLAG_MULTIPROC) {
 				BOOL result;



More information about the samba-cvs mailing list