r25026: Move param/param.h out of includes.h
[abartlet/samba.git/.git] / source4 / torture / nbt / winsreplication.c
index 0d9e7586479272a010c2ab7718ae46d10e0f815d..c829b36e8e517eb9a85a0dc3d056ec84c7d58642 100644 (file)
@@ -30,6 +30,7 @@
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "torture/torture.h"
 #include "torture/nbt/proto.h"
+#include "param/param.h"
 
 #define CHECK_STATUS(tctx, status, correct) \
        torture_assert_ntstatus_equal(tctx, status, correct, \
@@ -9669,11 +9670,10 @@ static bool torture_nbt_winsreplication_owned(struct torture_context *tctx)
 /*
   test simple WINS replication operations
 */
-struct torture_suite *torture_nbt_winsreplication(void)
+struct torture_suite *torture_nbt_winsreplication(TALLOC_CTX *mem_ctx)
 {
        struct torture_suite *suite = torture_suite_create(
-               talloc_autofree_context(),
-               "WINSREPLICATION");
+               mem_ctx, "WINSREPLICATION");
        struct torture_tcase *tcase;
 
        tcase = torture_suite_add_simple_test(suite, "assoc_ctx1",