cli_smb2_close_fnum_recv() uses tevent_req_simple_recv_ntstatus(req), which frees req, then uses the state pointer which was owned by req. Patch to follow.
Created attachment 13823 [details] git-am fix for master
Created attachment 13831 [details] git-am fix cherry-pick from master for 4.7.next, 4.6.next Cherry-picked from master.
Reassigning to Karolin for inclusion in 4.6 and 4.7.
(In reply to Ralph Böhme from comment #3) Pushed to autobuild-v4-{7,6}-test.
Pushed to both branches. Closing out bug report. Thanks!