summaryrefslogtreecommitdiff
path: root/source4/torture/raw/lockbench.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-29 08:30:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:01 -0500
commit95a3ca53e57548501c0b66919c2b952121541e83 (patch)
treebab0e00a45e4a147a94d7cc2448d58caa1dec2c5 /source4/torture/raw/lockbench.c
parentaeac4f48001bbca61b9f94ecb1bdfa336ff27ad7 (diff)
downloadsamba-95a3ca53e57548501c0b66919c2b952121541e83.tar.gz
samba-95a3ca53e57548501c0b66919c2b952121541e83.tar.bz2
samba-95a3ca53e57548501c0b66919c2b952121541e83.zip
r23182: fixed valgrind error
(This used to be commit fae416cbe8e44bc88ea709160a583e2f921e4eec)
Diffstat (limited to 'source4/torture/raw/lockbench.c')
-rw-r--r--source4/torture/raw/lockbench.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c
index af0c65b6a4..5e132a24cc 100644
--- a/source4/torture/raw/lockbench.c
+++ b/source4/torture/raw/lockbench.c
@@ -176,6 +176,8 @@ static void reopen_connection(struct event_context *ev, struct timed_event *te,
struct smb_composite_connect *io = &state->reconnect;
char *host, *share;
+ state->te = NULL;
+
if (!torture_get_conn_index(state->client_num, state->mem_ctx, &host, &share)) {
DEBUG(0,("Can't find host/share for reconnect?!\n"));
exit(1);