summaryrefslogtreecommitdiff
path: root/source3/torture/vfstest.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-02-13 12:09:12 +0100
committerJeremy Allison <jra@samba.org>2018-02-20 21:55:13 +0100
commit7f47cec2343ca7658460cc14fa613fdd2611677a (patch)
tree3dcd8c21da3a093e43444b22c0039847120864cb /source3/torture/vfstest.c
parentb2aec11c76904bf6a8f67f0634cce5e443e77d8b (diff)
downloadsamba-7f47cec2343ca7658460cc14fa613fdd2611677a.tar.gz
s3:auth: Pass mem_ctx to init_guest_session_info()
Use a mem_ctx which gets freed if possible. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/torture/vfstest.c')
-rw-r--r--source3/torture/vfstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index f156def4647..17c19012384 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -525,7 +525,7 @@ int main(int argc, const char *argv[])
/* some basic initialization stuff */
sec_init();
- init_guest_info();
+ init_guest_session_info(frame);
locking_init();
vfs = talloc_zero(NULL, struct vfs_state);
if (vfs == NULL) {