diff options
Diffstat (limited to 'source4/torture/raw/lockbench.c')
-rw-r--r-- | source4/torture/raw/lockbench.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c index 7ec8844cdc..901b7dee7e 100644 --- a/source4/torture/raw/lockbench.c +++ b/source4/torture/raw/lockbench.c @@ -265,7 +265,9 @@ static void report_rate(struct event_context *ev, struct timed_event *te, p.in.repeat_count = 0; p.in.size = 0; p.in.data = NULL; - smb_raw_echo_send(state[i].tree->session->transport, &p); + if (state[i].tree) { + smb_raw_echo_send(state[i].tree->session->transport, &p); + } } } |