torture:smb2: fix crashes in smb2.durable-v2-open.reopen1a test
authorMichael Adam <obnox@samba.org>
Tue, 15 Mar 2016 08:44:06 +0000 (09:44 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 21 Mar 2016 23:23:22 +0000 (00:23 +0100)
commitb0f592d05f66114427b26cd4aeea918e41a2e952
tree52bb2a521ff894613d9494725e8f1c35ba94c7c4
parent186cd708291641c507cda0c89cc9c24900634ed2
torture:smb2: fix crashes in smb2.durable-v2-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_v2_open.c