diff options
author | Jeremy Allison <jra@samba.org> | 2017-04-24 15:35:18 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-05-05 15:52:13 +0200 |
commit | b0613ed15fb6d51bf9cfb8e2fe72f5ba91a85989 (patch) | |
tree | e62db2f20a6d8036b0f8d67d5c2dc2259196ade0 /source4/torture/smb2/notify_disabled.c | |
parent | 123973e684cda747d8ab68c52d31196af77f769d (diff) | |
download | samba-b0613ed15fb6d51bf9cfb8e2fe72f5ba91a85989.tar.gz |
s4: torture: Add a TALLOC_CTX * to torture_smb2_notify_disabled_init().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'source4/torture/smb2/notify_disabled.c')
-rw-r--r-- | source4/torture/smb2/notify_disabled.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/smb2/notify_disabled.c b/source4/torture/smb2/notify_disabled.c index 0faeb519d19..a7bbebdad0c 100644 --- a/source4/torture/smb2/notify_disabled.c +++ b/source4/torture/smb2/notify_disabled.c @@ -108,9 +108,10 @@ done: /* basic testing of SMB2 change notify */ -struct torture_suite *torture_smb2_notify_disabled_init(void) +struct torture_suite *torture_smb2_notify_disabled_init(TALLOC_CTX *ctx) { - struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "change_notify_disabled"); + struct torture_suite *suite = torture_suite_create(ctx, + "change_notify_disabled"); torture_suite_add_1smb2_test(suite, "notfiy_disabled", torture_smb2_notify_disabled); suite->description = talloc_strdup(suite, "SMB2-CHANGE-NOTIFY-DISABLED tests"); |