From c62a988c3986e6c1c3269ad4af36f653f08b3c96 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Oct 2004 12:18:59 +0000 Subject: r2785: call init_iconv() in smbtorture to ensure we have no memory allocated when a test started, thus making leak detection easier (This used to be commit 6c46e4622a9851bdef25ba9d353bdebc25f6ec8d) --- source4/torture/torture.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture') diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 0ad53218b3..00a46a92d8 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -4281,6 +4281,7 @@ static BOOL run_test(const char *name) 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; -- cgit