s3:vfs: fix valgrind warning in SMB_VFS_{PREAD,PWRITE,FSYNC}_RECV()
authorStefan Metzmacher <metze@samba.org>
Wed, 29 Aug 2018 02:24:46 +0000 (04:24 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Sep 2018 08:45:10 +0000 (10:45 +0200)
commit7356e814dfd3921e465a16cfe4b7998bc6f92dd1
treefd3dd242294a4ff2ab225df21cf6723e271c9289
parentc86f6c2916c0c87efffe2d5b48f231a073b8c33e
s3:vfs: fix valgrind warning in SMB_VFS_{PREAD,PWRITE,FSYNC}_RECV()

tevent_req_received() destroys 'state', so we need helper variables
to hold the return value.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep  4 10:45:10 CEST 2018 on sn-devel-144
source3/smbd/vfs.c