torture:smb2: fix crashes in smb2.durable-open.reopen1a test
authorMichael Adam <obnox@samba.org>
Fri, 4 Mar 2016 21:55:40 +0000 (22:55 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 21 Mar 2016 23:23:21 +0000 (00:23 +0100)
commit37c05f4ade3a2d0e5076941095e7d5c09631ac1b
tree408bff1b6be3563273e2fc07ba14c0e422a88044
parentb7186a00bb985b5b878ccf2c47a1ac4e0c2a7c79
torture:smb2: fix crashes in smb2.durable-open.reopen1a test

If the test failed too early, we dereferenced tree2 which
was still NULL.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/durable_open.c